> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Shmarya Rubenstein
> Sent: zaterdag 8 juli 2006 20:08
> To: Gary Feldman
> Cc: nant-users@lists.sourceforge.net
> Subject: Re: [NAnt-users] Change the appearance of the "Build 
> failed" error msgs
> 
> Hi Gary,
> 
> Didn't mean to provoke anyone ;)
> 
> Note that the patch only changes the text "BUILD FAILED", and 
> as such doesn't necessarily need to be 'read'. It serves more 
> as an immediate visual indication of something broken.
> 
> As someone who typically has 3 or more console windows open, 
> and routinely runs nant scripts hundreds of times a day, I 
> find that I sometimes don't notice that the output says 
> 'BUILD FAILED' instead of 'BUILD SUCCEEDED', the text is just 
> so much green on black. The minute the 'BUILD FAILED' is in 
> red, it becomes almost impossible to ignore.
> 
> Note also that my patch only works when building in NET2.0. 
> The Console.ForegroundColor property is not available in 1.1. 
> This is by no means intended as a complete solution... it's 
> just something I found helpful and thought others might find 
> useful. Additionally, we could always decide on a 
> background/foreground combination which is 'universally' 
> acceptable, and change both background and foreground. This 
> would be more jarring, but that's what we're after in any case....

We could add something like an AnsiColoredLogger, similar to log4net's
AnsiColorTerminalAppender. It allows specific colors to be assigned to
individual log levels.

However, I don't think it would be easily configurable from the command
line.

Gert



-------------------------------------------------------------------------
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