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

Reply via email to