[NAnt-users] Output console to text file

2009-10-22 Thread Justin Daubenmire
Hey all, In my .build file, how or what do I do to get all console messages redirected to a text file? I have this in place throughout my targets: echo file =deploy_results.txt append=true message=starting to copy files... / which works, but the information displayed on the console, such

Re: [NAnt-users] Output console to text file

2009-10-22 Thread Michael Pento
Hi Justin, If your using the nant-contrib library you can use the record task (http://nantcontrib.sourceforge.net/release/latest/help/tasks/record.htm l) to save your output to a log file. It supports various output logging levels and you will still get your output on the console. target

Re: [NAnt-users] Output console to text file

2009-10-22 Thread Justin Daubenmire
Thanks guys! What is the syntax to pull in the nant-contrib assembly into my nant build file? /Justin From: Michael Pento [mailto:mpe...@metratech.com] Sent: Thursday, October 22, 2009 8:43 AM To: Justin Daubenmire; nant-users@lists.sourceforge.net;

Re: [NAnt-users] Output console to text file

2009-10-22 Thread Justin Daubenmire
gotcha. Once the contrib assemblies are in the bin folder of my nant installation, do I have to do anything special as an import or anything to get my build scripts to recognize the contrib tasks? /Justin From: Chris Lambrou

Re: [NAnt-users] Output console to text file

2009-10-22 Thread Bob Archer
Nope, if the DLL is in the same folder as the nant.exe then it should load it. From: Justin Daubenmire [mailto:jus...@cboss.com] Sent: Thursday, October 22, 2009 9:03 AM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Output console to text file gotcha. Once the contrib assemblies

Re: [NAnt-users] Output console to text file

2009-10-22 Thread Bob Archer
You can use the XmlLogger. Check out the doc on Loggers and Listeners. BOb From: Justin Daubenmire [mailto:jus...@cboss.com] Sent: Thursday, October 22, 2009 8:22 AM To: nant-users@lists.sourceforge.net; nant-users@lists.sourceforge.net Subject: [NAnt-users] Output console to text file Hey

Re: [NAnt-users] tokenizing a script tag and link

2009-10-22 Thread Bob Archer
You have to use XML entities tokens and I think single quotes: property name= trainingwatermark value=lt;link rel='stylesheet' type='text/css' href='..\style\watermark.css'gt;/ property name= attachEventButtonOnClick value=lt;SCRIPT language='JavaScript'

[NAnt-users] tokenizing a script tag and link

2009-10-22 Thread Zachary B. Wheeler
Hi All Is it possible to tokenize an entire script tag In my config file I have: property name= trainingwatermark value=link rel=stylesheet type=text/css href=..\style\watermark.css/ property name= attachEventButtonOnClick value=SCRIPT language=JavaScript

Re: [NAnt-users] tokenizing a script tag and link

2009-10-22 Thread Michael Pento
Bob's right, I tried this just messing around (slow day here ...) : property name=trainingwatermark value=lt;link rel=quot;stylesheetquot; type=quot;text/cssquot; href=quot;..\style\watermark.cssquot;gt; / The output looks like this: [echo] link rel=stylesheet type=text/css

Re: [NAnt-users] tokenizing a script tag and link

2009-10-22 Thread Ron Grabowski
Does nant support this syntax:? property name=”trainingwatermark”![CDATA[link rel=stylesheet type=text/css href=..\style\watermark.css]]/property Not sure if that's any easier to read... From: Michael Pento mpe...@metratech.com To: Bob Archer