You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Anderson, Robert H - MWT" <An...@menlolog.com> on 2003/11/01 00:10:12 UTC

MailLogger target specific notifications...

I have a question about the MailLogger. Is it possible to have it email
different addresses based on the target that is run? For example, we might
want to notify one address when we run the "build" target, but another
address when we run the "deploy" target.

Thanks,

Robert Anderson
Sr. Web Administrator
Menlo Logistics
(503) 450-2880 desk
(503) 781-4726 cell

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


AW: MailLogger target specific notifications...

Posted by Antoine Lévy-Lambert <an...@antbuild.com>.
Hi Robert,
set the property
MailLogger.success.to
in each of the target

for instance

<target name="build">
<property name="MailLogger.success"
value="you@someisp.com,she@otherisp.com,mickeymouse@xyz.com"/>
<...some action ...>

</target>
<target name="deploy">
<property name="MailLogger.success" value="donaldduck@xyz.com"/>
<...some action ...>

</target>

-----Ursprüngliche Nachricht-----
Von: Anderson, Robert H - MWT [mailto:Anderson.Robert@menlolog.com]
Gesendet: Samstag, 1. November 2003 00:10
An: 'user@ant.apache.org'
Cc: [DL] MLG_Web_Master
Betreff: MailLogger target specific notifications...


I have a question about the MailLogger. Is it possible to have it email
different addresses based on the target that is run? For example, we might
want to notify one address when we run the "build" target, but another
address when we run the "deploy" target.

Thanks,

Robert Anderson
Sr. Web Administrator
Menlo Logistics
(503) 450-2880 desk
(503) 781-4726 cell

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org