#738 recursive <include> task

0.90
closed-fixed
Ryan Boggs
Tasks (408)
8
2010-06-30
2010-06-15
Alexander Mayer
No

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?

Discussion

  • Main Build File

     
  • Further test builds to include

     
    Attachments
  • Common targets fiel for all builds

     
    Attachments
  • 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.

     
    • priority: 5 --> 8
     
  • Ryan Boggs
    Ryan Boggs
    2010-06-17

    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.

     
  • Ryan Boggs
    Ryan Boggs
    2010-06-17

    • assigned_to: nobody --> rmboggs
     
  • Ryan Boggs
    Ryan Boggs
    2010-06-19

    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.

     
  • Ryan Boggs
    Ryan Boggs
    2010-06-19

    • status: open --> open-fixed
     
  • Ryan Boggs
    Ryan Boggs
    2010-06-30

    Fix has been committed. Should be included in 0.91 alpha2. Closing bug ticket.

     
  • Ryan Boggs
    Ryan Boggs
    2010-06-30

    • status: open-fixed --> closed-fixed