Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350084 - A join should be provided for just the validation jobs
Summary: A join should be provided for just the validation jobs
Status: CLOSED FIXED
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: wst.validation (show other bugs)
Version: 3.2.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.2.5   Edit
Assignee: Gary Karasiuk CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-22 13:49 EDT by Gary Karasiuk CLA
Modified: 2011-06-24 15:11 EDT (History)
1 user (show)

See Also:
ccc: review+


Attachments
patch that provides a new join method (4.92 KB, patch)
2011-06-22 13:58 EDT, Gary Karasiuk CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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