Enforce build of model project first [message #1792147] |
Thu, 12 July 2018 03:40  |
Eclipse User |
|
|
|
Hi everyone,
I have a maven multi-module project which consists of multiple modules and one model module which contains the xtext dsl files. From this model module file are generated into the different other modules. the generated sources are not commited to svn/gt.t
aggregator
|-- module1 (java)
|-- module2 (java)
|-- model-module (dsl)
model-module and the other modules do not have any build dependencies and that cuases the "problem" that Eclipse does not know which project is the best to be built first. Obviously the model-module should be built first as it generates files which are need to compile module1 and module2.
The problem is obvious whenever I update my workspace from svn/git.
The Eclipse builder kicks in and builds module1 and module2 which have compile errors because model-module has not been built and the changed generated files are not included in module1 and module2.
While being built model.module generates the changed artifacts into module1 and module2.
The Eclipse Builde rkicks in again because some files changed and recompiles module1 and module2.
In the end I do not have any build errors, but the process can be optimized and faster if I could specify the build order of the projects.
Do you have any ideas/hints how to achieve my goal?
Kind regrads
Oliver
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04646 seconds