Replies: 4 comments 9 replies
-
I believe the incremental build can be invoked on multiple project from API perspective; calling from |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
@laeubi : if I understand your question right, you might want to listen to |
Beta Was this translation helpful? Give feedback.
-
To summarize your suggestions would/should something like this work:
|
Beta Was this translation helpful? Give feedback.
-
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...
Beta Was this translation helpful? Give feedback.
All reactions