Ok,

 

So, I have a build tool which comes with a batch file to call it. The
batch file calls the build tool which sets the errorlevel. It actually
sets it to 1 for success. Is it possible it doesn't get back to nant...
I would expect nant to see the one and think there was a failure but
that doesn't happen. So I am thinking that the errorlevel isn't getting
to nant.

 

Perhaps I should just bypass the batch file?

 

BOb

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roebuck,
Alex
Sent: Friday, February 08, 2008 4:49 AM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] exec

 

Yes, it does.  0 = success, non-zero = fail.

         

        
________________________________


        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob
Archer
        Sent: Thursday, February 07, 2008 10:37 PM
        To: nant-users@lists.sourceforge.net
        Subject: [NAnt-users] exec

        Does the exec task look at the dos errorlevel to determine if
the task passed or failed? Is that the same as exit code, or no? If not,
is there a way for me to read the DOS errorlevel?

         

        BOb

         

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to