Bugs item #880616, was opened at 2004-01-20 10:03 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=880616&group_id=31650
Category: Core Group: 0.8.4.0 Status: Open Resolution: None 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=880616&group_id=31650 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers