ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: detecting build failures with OUT exiting
Date Tue, 14 Jan 2003 01:32:16 GMT

----- Original Message -----
From: "Mike Castle" <dalgoda@ix.netcom.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Monday, January 13, 2003 15:13
Subject: Re: detecting build failures with OUT exiting

> > There are <try> and <catch> tasks in ant-contrib.sf.net; these let you
wrap
> > the <ant> calls. Covered on p256 of the book, btw.
>
> Ack!  Information overload.  And on such a memorable page number too!
>
> But this definitely looks like what I was looking for.  Thanks!
>
> I take it that this is a different implementation of the same idea posted
> by Dale Anson elsewhere in this thread?


not if he used <try> and <catch>

>
> > > So, if a file fails to compile, the automated build exits, and I can't
> > send
> > > off an email from inside ant to the appropriate individuals telling
them
> > > they need to buy the next round.
> >
> > MailLogger is the way to do this. I like your 'your broke the build'
> > punishment policy.
>
> The current script uses the XmlLogger and saves that off.  If there is
> an error it sends an email saying "go here."  I'll probably keep that
> method and use the <mail> task.  They get annoyed if I even hint at
> changing stuff to drastically, so I don't want to change what they
receive.

ok, but the purpose of the mail logger is to send out success/failure
emails, which is really what you want to do.

> Considering the number of emails we've sent out today, someone may have to
> just bring in a pony keg later this week....

Wait till you add <checkstyle> to the build...


--
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