I want to be able to execute the build of one module, in the middle of the building of an other module, but can't find how to deal with this.
I have a project with 3 modules : dao, dbGenerator and appli. project : |- dao : hibernate dao. Needs an instance of the db to execute unit tests. |- dbGenerator : depends on dao. Its build generates the db of the appli. |- appli depends on dao : uses the db generated during build of dbGenerator.
Todays build sequence :
- dao (-> install), but my problem is that is uses an instance of the db to execute unit tests. So a added an instance of the db in the resources
- dbGenerator (-> install) : compile, then generates the db instance
- appli (-> install) : get the db that was generated, then build, test, package
Expected build sequence would be something like this :
- dao (->compile)
- dbGenerator (-> install)
- dao (test->install)
- appli (->install)
Thanks for your help
[Edit] to be more precise, my expectations are that dao unit tests can be executed, using the db generated by dbGenerator.