Bugs item #1160058, was opened at 2005-03-09 18:50
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1160058&group_id=31650

Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Celio Cidral Junior (ccidral)
>Assigned to: Gert Driesen (drieseng)
Summary: Build files are not executed in specified order with <nant>

Initial Comment:
The <buildfiles> in the <nant> task are not executed in 
the specified order. Consider you have the task below. 
The Orange.build must be executed before Banana.build 
because this depends on that. However, NAnt seems to
execute them in alphabetical order, so that a 
compilation error occurs because Banana is executed 
first and Orange dependency still not exists.

<target name="compile" depends="clean,prepare">
    <nant>
        <buildfiles>
            <include name="Orange.build"/>
            <include name="Banana.build"/>
            <include name="Tomato.build"/>
        </buildfiles>
    </nant>
</target>

----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2005-03-12 14:32

Message:
Logged In: YES 
user_id=707851

I cannot reproduce this issue.

I've attached a zip file containing 4 build files:
- default.build
- Orange.build
- Banana.build
- Tomato.build

If you execute default.build, it will execute the other build files 
as nested builds in the order you specified.

I've also added checks to the build files to ensure they are 
indeed executed in the correct order, and everything works 
fine on my system.

Can you try to execute it on your system ?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1160058&group_id=31650


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to