the failonerror="false" on the loop may have something to do with it.

rutger
----- Original Message ----- 
From: "Scott, Larry (TRIAD RESOURCES)" <[EMAIL PROTECTED]>
To: <nant-users@lists.sourceforge.net>
Sent: Tuesday, May 31, 2005 21:52
Subject: [Nant-users] NUNIT2 Task Not Stopping After Failure


It appears that failures on NUNIT2 tasks are not being detected.
Failure on the CSC task seems to work properly (subsequent dependent
targets do not execute), but a failure on the NUNIT2 task does not
appear to stop processing of subsequent targets (the error is reported
correctly, but processing continues.. even with FAILONERROR and
HALTONFAILURE set to "true").  Perhaps it has something to do with my
NUNIT2 task in a loop:

<foreach item="File" in="${Full.Build.OutputDir}"
property="filename" failonerror="false">
[ ... stuff deleted ... ]
</foreach>

Has anyone else seen this?

LWS





-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to