Hallo,
I am trying to get NANT to write a logfile which
should be mailed out after a successful/erroneous build has happened. I try to
use NAnt.Core.MailLogger without any result:
call file wss_install with content:
@SET NANTDIR=.\NAnt
%NANTDIR%\Nant.exe -buildfile:addon.build
-logger:NAnt.Core.MailLogger -logfile:C:\logfile.log -D:%1=true %2 %3
in the addon.build file, at its beginning I place
the following code:
<project name="file.Install" default="help"
basedir=".">
<property name="MailLogger.mailhost" value="maourmailserver.com" />
<property name="MailLogger.from" value="[EMAIL PROTECTED]" />
<property name="MailLogger.failure.notify" value="true" />
<property name="MailLogger.success.notify" value="true" />
<property name="MailLogger.failure.to" value="[EMAIL PROTECTED]" />
<property name="MailLogger.success.to" value="[EMAIL PROTECTED]" />
.....
</project>
Unfortunately nothing happens: no mail gets send
out and no logfile gets created.
What am I missing? As far as I found out the
maillogger feature should be available for nant 0.84 or am I wrong?
Thank you for any help on this!
Kind regards,
Helga
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users