ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liu, Kenneth Albert (Kenneth)** CTR **" <ken...@lucent.com>
Subject RE: need help setting up automated build
Date Mon, 29 Jan 2001 21:59:40 GMT
Ok, suppose I did implement a BuildListener -- how would it then
call the Ant target to send the email out?

Ken

> -----Original Message-----
> From: Nico Seessle [mailto:Nico.Seessle@epost.de]
> Sent: Friday, January 26, 2001 2:59 AM
> To: ant-user@jakarta.apache.org
> Subject: Re: need help setting up automated build
> 
> 
> ----- Original Message -----
> From: "Liu, Kenneth Albert (Kenneth)** CTR **" <kenliu@lucent.com>
> To: <ant-user@jakarta.apache.org>
> Sent: Friday, January 26, 2001 2:34 AM
> Subject: need help setting up automated build
> 
> 
> > Hi all,
> >
> > I'm in the process of setting up an automated daily build 
> using ant.  I
> > would like to set up my script so that it calls a target to 
> compile all
> the
> > code, and if the compile fails, it sends out emails.  Otherwise, it
> > continues and calls a target which executes JUnit.
> >
> > However, I'm at a loss on how to create this type of conditional
> behavior -
> > can someone help me with this?
> >
> 
> Currently it's only possible to let ant do something if it 
> fails to complete
> if you implement your of BuildListener and pass it to ant. If 
> compilation
> fails ant will stop, so you need no special conditions to 
> only run your
> tests upon successful compilation.
> 
> Nico
> 
> 

Mime
View raw message