Colin, For those occurrences of the <echo> task where you've set level to verbose, the messages will only be output in the build file if either the -verbose or -debug options have been set on the command line.
Gert -------------------------------------------------- From: "Gourlay, Colin" <[EMAIL PROTECTED]> Sent: Tuesday, June 03, 2008 1:02 PM To: "Gert Driesen" <[EMAIL PROTECTED]>; <nant-users@lists.sourceforge.net> Subject: Re: [NAnt-users] Determine If Running in Verbose Mode > Hi Gert > > Thanks for taking the time to respond. > > If I do just as you suggested then how do I set the value of this > according to how I chose to run NAnt. > > I have seen a feature request for this at: > > http://www.mail-archive.com/nant-users@lists.sourceforge.net/msg07468.html > > but am unsure if it was implemented. > > Colin > > > > -----Original Message----- > From: Gert Driesen [mailto:[EMAIL PROTECTED] > Sent: 03 June 2008 11:29 > To: Gourlay, Colin; nant-users@lists.sourceforge.net > Subject: Re: [NAnt-users] Determine If Running in Verbose Mode > Importance: Low > > Colin, > > Just set the level attribute on the <echo> task to "verbose". > > Gert > > -------------------------------------------------- > From: "Gourlay, Colin" <[EMAIL PROTECTED]> > Sent: Tuesday, June 03, 2008 11:54 AM > To: <nant-users@lists.sourceforge.net> > Subject: [NAnt-users] Determine If Running in Verbose Mode > >> Is there a way of determining in the Nant script if the build is running >> in verbose mode? >> >> I placed a lot of echo messages around my build files as a way of >> debugging when I was putting them all together. They were quite useful >> so >> I don't want to remove them but I only now wish to have them displayed if >> I run say nant -v from the console. >> >> Any help/pointers is very much appreciated. >> >> Thanks >> >> Colin >> >> >> Edinburgh Business School is a Charity Registered in Scotland, SC026900 >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> NAnt-users mailing list >> NAnt-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nant-users >> > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > NAnt-users mailing list > NAnt-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users