Erv,
You can use the -emacs command line option to accomplish this.
Gert
----- Original Message ----- From: "Erv Walter" <[EMAIL PROTECTED]>
To: "Ian MacLean" <[EMAIL PROTECTED]>; "Nant-Developers (E-Mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, August 25, 2004 10:24 PM
Subject: RE: [nant-dev] Console logging output
This actually breaks things also. We run Nant from within Visual Studio to do our builds. With the old way, VS.NET new how understand the errors from CSC and you could double click on them and VS would jump to the right spot for the error. This no longer works with the prefix in place. Can we at least get an option to turn this off?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian MacLean Sent: Monday, August 09, 2004 9:08 PM To: Nant-Developers (E-Mail) Subject: [nant-dev] Console logging output
Recent changes to the console logger mean that there is a task name prefix emitted for every line of output related to that task. So:
[csc] Compiling 298 files to 'H:\svn\boo\build\Boo.Lang.Compiler.dll'.
Boo.AntlrParser:
[csc] Compiling 11 files to 'H:\svn\boo\build\Boo.AntlrParser.dll'.
[csc] h:\svn\boo\src\Boo.AntlrParser\BooLexer.cs(299,11): warning
CS0219: The variable '_token' is assigned but its value is
never used
[csc] h:\svn\boo\src\Boo.AntlrParser\BooLexer.cs(1887,4): warning
CS0162: Unreachable code detected
[csc] h:\svn\boo\src\Boo.AntlrParser\BooExpressionLexer.cs(250,11):warning CS0219: The variable '_token' is assigned but it
value is never used
[csc] h:\svn\boo\src\Boo.AntlrParser\BooExpressionLexer.cs(1213,4):warning CS0162: Unreachable code detected
instead of :
[csc] Compiling 298 files to 'H:\svn\boo\build\Boo.Lang.Compiler.dll'.
Boo.AntlrParser:
[csc] Compiling 11 files to 'H:\svn\boo\build\Boo.AntlrParser.dll'.
h:\svn\boo\src\Boo.AntlrParser\BooLexer.cs(299,11): warning
CS0219: The variable '_token' is assigned but its value is
never used
h:\svn\boo\src\Boo.AntlrParser\BooLexer.cs(1887,4): warning
CS0162: Unreachable code detected
h:\svn\boo\src\Boo.AntlrParser\BooExpressionLexer.cs(250,11):
warning CS0219: The variable '_token' is assigned but it
value is never used
h:\svn\boo\src\Boo.AntlrParser\BooExpressionLexer.cs(1213,4):
warning CS0162: Unreachable code detected
I personally find the older behaviour clearer as you can see that each [csc] represents a single invocation of the [csc] task whereas now its difficult to determine how many time the task has been used. The fact that the additional lines of output are part of the same [csc] usage is made clear by the indenting. Wrapping of long lines makes this even worse as you get some lines starting with [csc] and some not. Thoughts ?
Ian
-- Ian MacLean, Developer, ActiveState, a division of Sophos http://www.ActiveState.com
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
