You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Jacob, Anil - MWT" <Ja...@menlolog.com> on 2003/11/01 01:54:45 UTC

recordning time of build into mail logger

 Hi,

 Is there anyway to record time and date of a build into ant's maillogger so
that it shows up at the top of mail sent to recipients?

 Thanks in advance
 Anil Jacob

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


Re: recordning time of build into mail logger

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Friday, October 31, 2003, at 07:54  PM, Jacob, Anil - MWT wrote:
>  Hi,
>
>  Is there anyway to record time and date of a build into ant's 
> maillogger so
> that it shows up at the top of mail sent to recipients?

You can use any Ant properties you like in the subject properties.  
Look at the properties from <tstamp> and use those.

	Erik


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


AW: recordning time of build into mail logger

Posted by Antoine Lévy-Lambert <an...@antbuild.com>.
Hi Anil,

you can use the timestamp task to read the current date/time into
properties.
Then you can <echo> somewhere the time.
Since maillogger captures the same output as default logger, you will get
your time stamp in the output.

Cheers,

Antoine

-----Ursprüngliche Nachricht-----
Von: Jacob, Anil - MWT [mailto:Jacob.Anil@menlolog.com]
Gesendet: Samstag, 1. November 2003 01:55
An: 'user@ant.apache.org'
Betreff: recordning time of build into mail logger



 Hi,

 Is there anyway to record time and date of a build into ant's maillogger so
that it shows up at the top of mail sent to recipients?

 Thanks in advance
 Anil Jacob


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