OK, I figured it out. I just changed the value for nant.onsuccess and nant.onfailure in the target I call on entry to the NAnt file for these alternative builds and just exit when I hit those targets.
----- Original Message ---- From: Eric Fetzer <[EMAIL PROTECTED]> To: Nant Users <nant-users@lists.sourceforge.net> Sent: Monday, March 12, 2007 2:52:39 PM Subject: [NAnt-users] Don't go to OnSuccess or OnFailure I'm modifying a build for a specific case scenario that I haven't used before. It starts by calling a different target and in the end (just for this target), I DON'T want to go to failure or success. Is there a way to end the build in my target? Thanks, Eric ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users