-- Should have mentioned that
it already works like this and that I want to enhance the script with logging
functionality.
Hi,
yes, nant is located directly in the Nant
directory not in Nant\bin. The problem is that the Maillogger feature does not
get executed.
Thank you though!
Helga
Von: Ramya Niranjan [mailto:[EMAIL PROTECTED]
Gesendet: Mo 24.07.2006 11:35
An: Ortius, Helga
Betreff: Re: [NAnt-users] Maillogger NANT 0.84
Hi,
Are you sure NAnt.exe is located inside .\Nant and not inside .\Nant\bin?
Maybe the file is not found in the location from where it is being
launched.
On 7/24/06, Ortius,
Helga <[EMAIL PROTECTED]>
wrote:
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 %3in 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
------------------------------------------------------------------------- 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