Bugs item #880616, was opened at 2004-01-20 10:03 Message generated for change (Settings changed) made by eberhard You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=880616&group_id=31650
Category: Core Group: 0.85 >Status: Open Resolution: Wont Fix Priority: 5 Submitted By: Eberhard Beilharz (eberhard) Assigned to: Nobody/Anonymous (nobody) Summary: Build succeeds with failing task in nant.onsuccess Initial Comment: If a task in nant.onsuccess target fails, NAnt nevertheless outputs BUILD SUCCEEDED at the end and returns 0. This makes it impossible to make build files that ignore some errors but set an error variable instead, and in the nant.onsuccess target fail the build if the error variable is set - e.g. for reporting failing tests but continuing the build. A failing task in nant.onsuccess should result in BUILD FAILED and return 1 from nant.exe ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2004-01-27 12:35 Message: Logged In: YES user_id=707851 This is by design, and I actually don't think we should change this behaviour, but everything's open for discussion ofcourse ... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=880616&group_id=31650 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers