Why not call the second batch file from within the nant script? If the
build portion fails the batch file is never executed.
Mike
From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov]
Sent: Thursday, August 13, 2009 10:22 AM
To: nant-users@lists.so
I echo an XML fragment into a file, which is then opened in the other script
and interpreted.
HTH,
Eric T.
From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov]
Sent: August 13, 2009 10:22
To: nant-users@lists.sourceforge.net
Subject: [spam] [NAnt-users] Return a value from NAnt scrip
I have a batch file created that calls a NAnt script that performs a
build. Then it calls another batch file to perform a separate task.
However, the problem is if the build does not succeed, then the next
batch file does not need to be called. I want to return a value from
the NAnt script to