Replies: 4 comments 9 replies
|
I believe the incremental build can be invoked on multiple project from API perspective; calling from |
I believe it's how JDT does it: basically, the build keeps track of everything dirty from all Java projects and decides to rebuild whatever part makes sense to it when a project does request a build. This build may include generating .classes from other projects. |
|
@laeubi : if I understand your question right, you might want to listen to |
|
To summarize your suggestions would/should something like this work:
|
Uh oh!
There was an error while loading. Please reload this page.
Currently m2e has an incremental builder what works quite fine when one project is changed, but it seems it also happens that multiple projects change/needs rebuild and then m2e might be able to optimize some tasks.
I therefore wonder if there is a way to process more than one project I take a look at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(IBuildConfiguration[], IBuildConfiguration[], int, MultiStatus, IProgressMonitor, int, boolean)
but it seems there is not much to find out about other pending builds that might happen...
All reactions