Gary Feldman schrieb:

>> Is there a way to silence tasks? If not, I would like to request the
>> feature to be added... I really don't care to see 3 screens full of
>> <xmlpoke> entries :-) A "silent" attribute could be added, or
>> verbose="" extended to an enum where the default is the current
>> verbosity and an option is added for full verbosity (currently
>> verbose="true") as well as an option for silence (except with
>> failonerror perhaps).
>>   
> You can use the -quiet option on the NAnt command line, and judge for 
> yourself whether it also suppresses stuff you want to see.  There is 
> already a verbose=attribute, which currently expects true or false, but 
> could be expanded to accept other options.
> 
> However, in this particular case, the problem is that the xmlpoke task 
> is too verbose.  On the other hand, if you're getting three screens of 
> this, then perhaps the xmlpoke task isn't the right way to do things, as 
> it would be rewriting the target file each time.


I'm also using xmlpeek to read settings from an xml-file and xmlpoke to
modify the csproj-file for example. this also gives a load of messages I
don't really need to know.

Especially xmlpeek gives a lot of messages about attributes that could
not be found (which is being expected and the build-file can handle that
:)), so I don't want this to raise "warnings" in my build-file.

So I would really appreciate a quit-option for those tasks as well; but
I don't want to silent the complete build-file, because I would like to
know about warnings and errors in other tasks.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to