lf Of Scott, Larry
(TRIAD RESOURCES)Sent: Wednesday, June 01, 2005 4:28 PMTo:
nant-users@lists.sourceforge.netSubject: [Nant-users] Stopping A
Build
My NAnt scripts are not stopping when there is an
error in some tasks. It will stop if I have an error in a CSC task
(building a C# application). But when exe
Taking a quick crack at it, try setting
failonerror="true"
the problem that I can see, is that failonerror defaults to true, are you
setting it to false somewhere near the top of your script?
I'm not sure if you even *can* set a global failonerror setting.
Malcolm
--- "Scott, Larry (TRIAD RE
Title: Stopping A Build
My NAnt scripts are not stopping when there is an error in some tasks. It will stop if I have an error in a CSC task (building a C# application). But when executing an 'nunit2' task, and one of the test fails, I'd like to stop the process, but it continues executing