Bugs item #880616, was opened at 2004-01-20 16:03 Message generated for change (Settings changed) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=880616&group_id=31650
Category: Core >Group: 0.85 >Status: Closed >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 18: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 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
