ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@gmx.de>
Subject Re: AW: ant return status
Date Sat, 17 Dec 2005 19:22:49 GMT
Hello Steve, Jan  and others,

ant.bat has been changed in the head revision to give a return status.

Cheers,

Antoine
----- Original Message ----- 
From: "Steve Loughran" <stevel@apache.org>
To: "Ant Users List" <user@ant.apache.org>
Sent: Friday, December 16, 2005 7:21 PM
Subject: Re: AW: ant return status


> Jan.Materne@rzf.fin-nrw.de wrote:
> >>>I'm charged with learning more about ant return status variables.  I 
> >>>have no clue where to start.  Links to documentation that 
> >>
> >>will help me 
> >>
> >>>understand it would be most welcome.  Pointing to specific 
> >>
> >>sections of 
> >>
> >>>documentation would be helpful.  To clarify my interest:  I am 
> >>>interested in capturing whether or not ant has successfully 
> >>
> >>completed 
> >>
> >>>execution or if there was a failure.
> >>
> >>The ant commandline script under windows (NT/XP/etc.) returns 
> >>either 0 or 1.
> >>A zero value indicates that the build was successful.  A value 
> >>of 1 indicates an error. Under Windows you can use the 
> >>ERRORLEVEL variable to test the result of invoking ant.  For example:
> 
> 
> I'm not sure that ant.bat does this, for backwards compat with win98. 
> The perl and python runant scripts work though.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message