Bugs item #1160058, was opened at 2005-03-09 17:50 Message generated for change (Comment added) made by jh72i 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: jh72i (jh72i) Date: 2005-05-11 09:12 Message: Logged In: YES user_id=1276517 I am also experiencing this problem. Seems the builds happen in alphabetical order regardless of where my <include> tags are placed. Has anybody got a solution to this? ---------------------------------------------------------------------- Comment By: Celio Cidral Junior (ccidral) Date: 2005-03-16 12:19 Message: Logged In: YES user_id=974079 I executed your build files in my system, but I'm still getting an error. See the build log attached. ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2005-03-12 13: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 ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers