ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Whatmore" <Steve.Whatm...@lynxdev.com>
Subject RE: Automated builds with ANT / JUnit, emailing the results of the build / unit tests
Date Mon, 17 Sep 2007 20:53:20 GMT
Please ignore that last post, once I thought about it, it became obvious
that they are specified in as such

<!-- Mail Logger properties -->
<property name="MailLogger.failure.notify" value="true" />
<property name="MailLogger.success.notify" value="true" />

with the logger being set through the command line argument.

Whatty

-----Original Message-----
From: Steve Whatmore [mailto:Steve.Whatmore@lynxdev.com] 
Sent: Monday, September 17, 2007 1:56 PM
To: Ant Users List
Subject: RE: Automated builds with ANT / JUnit, emailing the results of
the build / unit tests

Not trying to be obtuse of course, the manual pages aren't very explicit
with respect to how you provide the properties to the mail logger.

Is this through properties file somewhere, ANT Task definition or
command line arguments?

Thanks in advance.

Whatty

-----Original Message-----
From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com] 
Sent: Monday, September 17, 2007 1:46 PM
To: Ant Users List
Subject: RE: Automated builds with ANT / JUnit, emailing the results of
the build / unit tests

The quick solution is MailLogger.

http://ant.apache.org/manual/listeners.html#MailLogger

The best solution is cruise control or hudson.

-Rob A

> -----Original Message-----
> From: Peter Reilly [mailto:peter.kitt.reilly@gmail.com] 
> Sent: Thursday, September 13, 2007 1:14 PM
> To: Ant Users List
> Subject: Re: Automated builds with ANT / JUnit, emailing the 
> results of the build / unit tests
> 
> On 9/13/07, Loehr, Ruel <rloehr@pointserve.com> wrote:
> > You can do the following.
> >
> > 1)   Checkout cruisecontrol or Hudson.    - nightly build servers,
> > Hudson is easier to setup for new people
> +1 hudson is awesome!
> Peter
> 
> >
> > They'll handle what you are trying to do without jumping 
> through hoops.
> >
> >
> > -----Original Message-----
> > From: Steve Whatmore [mailto:Steve.Whatmore@lynxdev.com]
> > Sent: Thursday, September 13, 2007 3:00 PM
> > To: user@ant.apache.org
> > Subject: Automated builds with ANT / JUnit, emailing the results of 
> > the build / unit tests
> >
> > Good afternoon,
> >
> >
> >
> > I am trying to setup an automated build process complete with JUnit 
> > for a web application that I am developing.
> >
> >
> >
> > I would like email the results of both the compile step and 
> the JUnit 
> > step to a development distribution list that I have setup.
> >
> >
> >
> > I must be missing something because I am trying to capture 
> the results 
> > of the compile step if it fails and email it to the list, but can't 
> > seem to figure out how to do this.
> >
> >
> >
> > Similar with the JUnit setup in that I want to capture the 
> results of 
> > this step and email the results.
> >
> >
> >
> > I am using ANT 1.7.0 in the Eclipse IDE, everything works 
> fine, just 
> > can't figure out how to capture those results.
> >
> >
> >
> > Thanks in advance.
> >
> >
> >
> > Whatty
> >
> >
> > 
> ---------------------------------------------------------------------
> > 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
> 
> 
> 


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




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


Mime
View raw message