Re: [NAnt-users] How to force nant to fail

2008-07-11 Thread DBC User
Thanks. On Fri, Jul 11, 2008 at 11:50 AM, Bob Archer <[EMAIL PROTECTED]> wrote: > You need to have your app return a non-zero to the DOS command line. This > will cause Nant to fail the build. > > > > BOb > > > -- > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTE

Re: [NAnt-users] How to force nant to fail

2008-07-11 Thread Bob Archer
You need to have your app return a non-zero to the DOS command line. This will cause Nant to fail the build. BOb From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DBC User Sent: Friday, July 11, 2008 12:46 PM To: nant-users@lists.sourceforge.ne

[NAnt-users] How to force nant to fail

2008-07-11 Thread DBC User
I have an exe that I am calling through my nant task. It is a C# code, In the C# code, when it fails logically, I want the rest of the nant to fail forcing the Continuos integration to fail. Is there a way I can for NANT to fail, instead of throwing exception?Thanks., --