Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 350084

Summary: A join should be provided for just the validation jobs
Product: [WebTools] WTP Common Tools Reporter: Gary Karasiuk <karasiuk>
Component: wst.validationAssignee: Gary Karasiuk <karasiuk>
Status: CLOSED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: ccc
Version: 3.2.3Flags: ccc: review+
Target Milestone: 3.2.5   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
patch that provides a new join method none

Description Gary Karasiuk CLA 2011-06-22 13:49:31 EDT
Currently the framework provides the method:
org.eclipse.wst.validation.ValidationFramework.join(IProgressMonitor monitor)

This method in addition to waiting for the validation jobs, also waits for the FAMILY_AUTO_BUILD jobs.

An adopter needs a weaker join method, that only waits for the validation jobs, as the current join method causes a deadlock for them (as they are calling this method in the middle of a build).
Comment 1 Gary Karasiuk CLA 2011-06-22 13:58:01 EDT
Created attachment 198426 [details]
patch that provides a new join method
Comment 2 Gary Karasiuk CLA 2011-06-22 17:23:30 EDT
Released to 3.2.5.
Comment 3 Gary Karasiuk CLA 2011-06-22 17:47:19 EDT
Changes committed to HEAD (so they will be picked up in the 3.3.1 and 3.4.0 releases when they get defined)
Comment 4 Gary Karasiuk CLA 2011-06-24 15:11:40 EDT
Updated the Javadoc and closing