Hi Greg.
A skeleton framework for that might look something like this:
<property name="nant.onsuccess" value="success"/>
<property name="nant.onfailure" value="failure"/>
<target name="success">
<echo message="Build success! :-)"/>
</target>
<target name="failure">
<echo message="Build failed :-("/>
</target>
Make sure the properties are set in the beginning of the build
file.
Good luck!
/Nicke
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: den 15 oktober 2003 14:12
To: [EMAIL PROTECTED]
Subject: [Nant-users] Traping Failures
I wish to trap when a build fails and execute a command line program. How
can I do this?
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users