Since version 0.90 the include task is called recursively. Thus, our builds fail for example with the message "duplicate target 'coverage'". When different build files includ the same "common.targets.build" file, this error occurs.
Is that an expected behaviour? Can we expect a fix back to the 0.85-behaviour?
Main Build File
Further test builds to include
Common targets fiel for all builds
I have attached some buildfiles from our build server.
- VehicleSystemTest.build is the main build for the project
- targets.include contains common build targets used for all build projects.
- includes.include usually contains dependend project to be build before.
Hi Alexander,
Thanks for the examples. This really helps out. I'll take a look this week and see if I can track this down.
Hey, I have a fix in review right now. Once it is approved, I will commit for the next 0.91 alpha and close this ticket.
Fix has been committed. Should be included in 0.91 alpha2. Closing bug ticket.