Yes, here's what I did:

<tstamp property="build.date" pattern="yyyyMMdd_HHmm"/>

<property name="MailLogger.success.subject" value=" Build ${build.date}
Succeeded"/>
<property name="MailLogger.failure.subject" value=" Build ${build.date}
Failed"/>

You can change the pattern of the timestamp too.
http://nant.sourceforge.net/nightly/help/tasks/tstamp.html

Steven.

-----Original Message-----
From: Michael Rudge [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 11, 2004 11:02 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] MailLogger

Is there anyway to dynamically set the log file name
so that it is timestamped when the build starts? for
example the name would be buildlog061120041000.
thanks
mike

=====
Michael Rudge



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to