| Summary: | antRunner application doesn't seem to use the workspace locking mechanism | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Thomas Hallgren <thomas> |
| Component: | Ant | Assignee: | Platform-Ant-Inbox <platform-ant-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | darin.eclipse, dj.houghton, john.arthorne, Michael_Rennie |
| Version: | 3.6.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Thomas Hallgren
I'm not aware of the history on this. DJ or John, do you know if/how the Ant application entry point should/could consider the workspace lock? Yes, all applications that manipulate the platform instance location should be locking it when they start. For a headless application this is as simple as: Location instance = Platform.getInstanceLocation(); if (instance == null) ... throw exception, instance location was not set if (!instance.lock()) ... throw exception, instance location could not be locked So this is rather serious given that many ant applications indeed do manipulate the workspace and it's meta-data. I'm thinking about tasks like eclipse.incrementalBuild and eclipse.refreshLocal. Possible duplicate of bug 262685. *** This bug has been marked as a duplicate of bug 262685 *** |