I don't know if you can stop it. Basically I would structure the tashs
using the if and unless attributes and set some property value so
targets/tasks you don't want to run will be skipped.

BOb


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chayim
Kirshen
Sent: Wednesday, October 10, 2007 3:55 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Stopping A NAnt Build?

Folks,

I'm wondering if there is any way to stop a NAnt build from inside a
task.  I'm looking for something similar to <fail>, but which means a
success has occurred. Ideally I'd use this to not run something based on
a script's return code, but exiting cleanly is a good thing.

thanks!

--c

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to