File a bug report / enhancement request with the patch as an attachment.
If you have a patch attached please start the title of the bug report
with [PATCH]
b.r. Martijn
Omri Spector schreef:
I perform nightly builds for a fairly large system. I use mail logger
for both success and notification since I want to be sure build ran and
handle any problems asap.
I found that mail logger's notification, which contains the full build
log, is problematic - it encumbers my e-mail.
In my site I improved on this by changing
org.apache.tools.ant.listener.MailLogger to support an additional
attribute, MailLogger.body, which sends a fixed body.
I then run the build with a fixed body ("Build log can be found at
....") and a logfile to a central directory
(i.e.
ant build.nightly -logfile log\build.log -logger
org.apache.tools.ant.listener.MailLogger
-DMailLogger.properties.file=nightlybuild.properties
With properties:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
MailLogger.mailhost=blabla
MailLogger.from=Nightly-Build
MailLogger.body=Nightly build log can be found at
\\\\win-build-1\\build\\log\\build.log
)
This works nicely for me, and I think is a nice feature.
Is anybody interested in the fixed class? Can this help other people?
(assuming it is helpful) Does anybody know how I can submit this to the
ant project?
Omri Spector
Java Team Leader
Actimize LTD.
Tel: +972-3-9213777 #101
Cell: +972-50-8234099
Fax: +972-3-9210777
mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]