ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Running ant on a nightly basis?
Date Mon, 25 Sep 2000 15:51:56 GMT
In the docs it says: "To use build events you need to create an ant Project
object. You can then call the addBuildListener method to add your listener
to the project." Could someone provide a pointer to any additional docs on
this? i know i can plug this in via the command line but would rather do it
the other way. i suppose i could grub around the source looking for
"addBuildListener()", but was hoping for some documentation.


-----Original Message-----
From: Will Glozer []
Sent: Thursday, September 14, 2000 6:53 AM
To: ''
Subject: RE: Running ant on a nightly basis?

Sure, I've attached the listener to this email.  Note that it isn't
very fancy, but feel free to do whatever you like with it =)  I didn't
use the Ant mail classes; rather I used JavaMail, available from Sun.


-----Original Message-----
From: Stefan Bodewig []
Sent: Thursday, September 14, 2000 2:43 AM
Subject: Re: Running ant on a nightly basis?

>>>>> "WG" == Will Glozer <> writes:

 WG> Well I wrote a little BuildListener implementation that emailed
 WG> results when buildFinished() was called.

This has been asked for before. I haven't found time to put something
like this together myself as an example - would you like to share
yours? Is it based on

 WG> I suppose if you added an email task it wouldn't run if the build
 WG> failed since ant would terminate.



View raw message