Bugs item #1174711, was opened at 2005-04-01 04:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1174711&group_id=31650

Category: Tasks
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael A. Johnson (majohnson)
Assigned to: Nobody/Anonymous (nobody)
Summary: infinite recursion when default.build is root .build file

Initial Comment:
In the documentation it indicates that you can build all 
default tasks in sub dirs by declaring the following:

<nant>
<buildfiles>
 <include name="**/default.build" />
</buildfiles>
</nant>

if this root file is called default.build it builds forever in an 
infinite loop.

--
steps to reproduce:

create folder called foo and copy default.build containing 
above snippet inside to kick off the build like this:

<project name="execute" default="build" >


  <!-- build all the default targets underneath the 
schemaGen folder -->

  <target name="build" >
    <nant>
      <buildfiles>
        <include name="**/default.build" />
      </buildfiles>
    </nant>
  </target>

</project>

make child folders bar and baz and create default.build 
files in each that do nothing such as:
<project name="execute" default="build" >
  <target name="build" />
</project>

start nant from the foo folder and watch it build forever.





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

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


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to