Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 185186 - Apply patch waits for workspace rebuild
Summary: Apply patch waits for workspace rebuild
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 3.3   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Compare-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-02 13:47 EDT by Kevin McGuire CLA
Modified: 2007-05-02 14:43 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin McGuire CLA 2007-05-02 13:47:36 EDT
I20070501

I had loaded a large number of source projects into my workspace.  I put this in the background.  

While the rebuild was happening, I wanted to apply a patch to one of the already existing source projects. When finishing the apply patch wizard, it blocks and waits for the workspace rebuild.

I'm not sure why the tasks are interdependent: the patch is applied against the source.  Do we need the compiled form for the AST for patch application?
Comment 1 Michael Valenta CLA 2007-05-02 13:55:56 EDT
The build locks all resources. Any attempt to modify a resources will block until the build is complete or yields to the resource modification (there is code in build infrastructure that detects whether other threads are blocked on resource modifications). So, to answer your question, the tasks are interdependent in the sense that the build does not allow others to modify resources while a build is taking place.
Comment 2 Kevin McGuire CLA 2007-05-02 14:43:30 EDT
That's a shame.  A finer grain locking strategy on the part of the builder seems in order.