Hi, You first need to build the NAntContrib source (having extracted it from SourceForge CVS). You then build this using Nant (there is a .build file). The end result should be a NAnt.Contrib.Tasks.dll file, which you drop into your NAnt directory. You can now use the NAntContrib tasks. To use the record task as you want, I do this:
<record name="${basename}\nantbuildlog.txt" action="Start" /> <target name="onFail"> <echo message="Build failed, mailing report..." /> <record name="${basename}\nantbuildlog.txt" action="Close" /> <mail ... files="${basename}\nantbuildlog.txt" /> </target> Hope this helps, -- Simon Steele Programmers Notepad - http://www.pnotepad.org/ -----Original Message----- From: Chris Garty [mailto:[EMAIL PROTECTED]] Sent: 14 February 2003 01:26 To: [EMAIL PROTECTED] Subject: RE: [Nant-users] Emailing NAnt output using mail task Ok... more... I finally found the NAntContrib project that people were refering to and found the RecordTask.cs file. How do I encorporate NAntContrib into NAnt? - Chris __________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users