Nick, This issue is fixed in cvs.
Thanks for the report ! Gert ----- Original Message ----- From: "Nick Varacalli" <[EMAIL PROTECTED]> To: "'Gert Driesen'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, October 01, 2003 4:39 PM Subject: RE: [Nant-users] Nant Plain Text Logging Thank you for the great answers. There is a small problem with the mail logging. If I use <nant buildfile="..." />, I am mailed a build success message for every sub-build that succeeds. Is there a way to get one, single message for the master build? Thanks Nick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen Sent: Tuesday, September 30, 2003 13:49 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Nant-users] Nant Plain Text Logging > ----- Original Message ----- > From: "Nick Varacalli" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, September 30, 2003 7:00 PM > Subject: [Nant-users] Nant Plain Text Logging > > nAnt 0.83 final, .Net Framework 1.1. > > A few quick questions: > > * Is there a way to get nAnt to send output to both the console and to a > file? I know how to do XML logging, I'm looking for plain text logging. use the -logfile command line argument eg. nant.exe -buildfile:nant.build -logfile:output.log > * In script, I can do Console.Writeline to write to the console. However, > that doesn't respect the logger and the logfile switches. What object should > I be using instead? see the examples in http://nant.sourceforge.net/nightly/help/tasks/scripttask.html. > > * I want to email the build log to an internal mailing list when the build > is done. use the NAnt.Core.MailLogger instead : NAnt.exe -buildfile:.... -logger:NAnt.Core.MailLogger you need to configure the MailLogger using a predefined set of properties in your buildfile (see the NAnt SDK docs for more information) : <property name="MailLogger.mailhost" value="mail.dunnowhat.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]" /> <property name="MailLogger.failure.subject" value="build failure" /> <property name="MailLogger.success.subject" value="build success" /> Hope this helps, Gert ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users