|Build a project when another is closed [message #632338]
||Tue, 12 October 2010 11:46
| Cyril C.
Registered: July 2009
I have my own builder (extends IncrementalProjectBuilder) that uses the project references described in the .project files.
I want to show an error on a project whenever a referenced project is missing / closed / deleted / etc.
At first my builder was not invoked when a required project was closed.
I found that using the forgetLastBuiltState() method made the platform call my builder. But doing this, my builder is invoked too often : when the .project file of a single project is modified, all the projects of the workspace are rebuilt with the FULL_BUILD kind.
Is it the "good" way to achieve this ? Does anybody know another way ?
Powered by FUDForum
. Page generated in 0.01778 seconds