I’d like to call a child Nant build file using the <Nant> task in a master build file and specify the logfile to use? Is there a way of specifying a separate logfile for this child Nant build file? I’d expect it to look something like this:

 

<nant buildfile="${src.dir}/Nightly.build" logfile="${output.dir}/Nightly.log.txt" />

 

I wish to do this so that the master build file can collate and dispatch all the build outputs from the execution of the child build file _including_ the child’s build log. The child build file can’t do this itself because the log file is both in use and has not been flushed.

 

Thanks,

Bruce.

Reply via email to