you should be able to use the -listener switch to specify multiple listeners
(a logger can always be used as a listener)

eg.

NAnt.exe -buildfile:<buildfile> -logger:NAnt.Core.XmlLogger -logfile:output.
xml -listener:NAnt.Core.MailLogger

In this case maillogger will still not send the build log in xml format
though ...

Gert

----- Original Message ----- 
From: "Trudel, Chris" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>
Sent: Sunday, February 01, 2004 7:05 PM
Subject: RE: [Nant-users] How do you specify an output file for the
XmlLogger?


How would I specify to use 2 loggers, XmlLogger and the MailLogger?

Would I just specify -logger:... twice?

Chris


-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 01, 2004 12:41 AM
To: Trudel, Chris; [EMAIL PROTECTED]
Subject: Re: [Nant-users] How do you specify an output file for the
XmlLogger?

You can specify an output file using the -logfile option, eg.

NAnt.exe -buildfile:<buildfile> -logger:NAnt.Core.XmlLogger
-logfile:output.
xml

Gert

----- Original Message ----- 
From: "Trudel, Chris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 01, 2004 3:04 AM
Subject: [Nant-users] How do you specify an output file for the
XmlLogger?


I couldn't seem to find any usage docs on the XmlLogger, so I was
wondering how do I specify an output file?



Chris






-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to