| |
|
| java.lang.Object com.mycompany.listeners.MailLogger
MailLogger | public class MailLogger implements AuditListener(Code) | | Buffers log messages from DefaultLogger, and sends an e-mail with the
results. The following Project properties are used to send the mail.
- MailLogger.mailhost [default: localhost] - Mail server to use
- MailLogger.from [required] - Mail "from" address
- MailLlistener.failure.notify [default: true] - Send build failure
e-mails?
- MailLogger.success.notify [default: true] - Send build success
e-mails?
- MailLogger.failure.to [required if failure mail to be sent] - Address
to send failure messages to
- MailLogger.success.to [required if success mail to be sent] - Address
to send success messages to
- MailLogger.failure.subject [default: "Build Failure"] - Subject of
failed build
- MailLlistener.success.subject [default: "Build Success"] - Subject of
successful build
These properties are set using standard property setting mechanisms
(command-line -D, ant <property>, etc).Properties can be overridden
by specifying the filename of a properties file in the
MailLogger.properties.file property . Any properties defined in that
file will override properties.
Based on
org.apache.tools.ant.listener.MailLogger>org.apache.tools.ant.listener.MailLogger
author: Erik Hatcher author: ehatcher@apache.org author: Rick Giles |
MailLogger | public MailLogger()(Code) | | Constructs a MailLogger
|
|
|
|