ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: ANT Exit Codes
Date Mon, 16 Sep 2002 18:10:30 GMT
A quick scan of the source of Main.java indicates that
Ant should return 1 when a BuildException is caught.

-Matt

--- Tim Sheridan <tsheridan@intersectsoft.com> wrote:
> Because our ANT build script integrate with a legacy
> make system, we need to
> be able to check for exit codes when a build script
> completes execution (I
> know there is a better way, but this a temporary
> measure - read as "hack").
> 
> Does ANT provide exit codes? For example, if a build
> (javac) fails, is an
> exit code returned from ANT that can be checked by,
> say, a shell script?
> 
> Thanks,
> Tim
> 
> -----Original Message-----
> From: Matt Benson [mailto:gudnabrsam@yahoo.com]
> Sent: Monday, September 16, 2002 12:34 PM
> To: Ant Users List
> Subject: Re: FTP Optional task on GET action - is
> changing files' last
> mod ified date
> 
> 
> Maybe I phrased that badly... if it is accepted, how
> long would it be between now and its acceptance? 
> Also, is there an ant-dev archive that is current? 
> The one from the site seems not to have been updated
> this year.
> 
> -Matt
> 
> --- Stefan Bodewig <bodewig@apache.org> wrote:
> > On Thu, 12 Sep 2002, Matt Benson
> > <gudnabrsam@yahoo.com> wrote:
> > 
> > > Not to sound impatient, but assuming my patch is
> > > accepted, how long would it be before the status
> > on
> > > the bug report changes or some other indication
> is
> > > available?
> > 
> > Immediately (you'd see the cvs commit message on
> > ant-dev and most
> > committers would change the status shortly after
> > committing).
> > 
> > Stefan
> > 
> > --
> > To unsubscribe, e-mail:  
> > <mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:ant-user-help@jakarta.apache.org>
> > 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! News - Today's headlines
> http://news.yahoo.com
> 
> --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

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


Mime
View raw message