ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@livemedia.com
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.


thanks,
james@livemedia.com


-----Original Message-----
From: Will Glozer [mailto:will.glozer@jda.com]
Sent: Thursday, September 14, 2000 6:53 AM
To: 'ant-user@jakarta.apache.org'
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.

Regards,
Will

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@bost.de]
Sent: Thursday, September 14, 2000 2:43 AM
To: ant-user@jakarta.apache.org
Subject: Re: Running ant on a nightly basis?


>>>>> "WG" == Will Glozer <will.glozer@jda.com> 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 org.apache.tools.mail.MailMessage?

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

Right.

Stefan



Mime
View raw message