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:[EMAIL PROTECTED] > 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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > > Sent: Thursday, September 13, 2007 3:00 PM > > To: [email protected] > > 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: [EMAIL PROTECTED] For > additional > > commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] For > additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
