ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Anson <>
Subject Re: How to redirect javac task errors to a separate file
Date Thu, 12 Feb 2004 00:15:24 GMT
Antelope does exactly that when running as a plugin in jEdit. Antelope 
feeds Ant's output through jEdit's ErrorList plugin. Full Ant output 
goes to the ConsolePlugin. Depending on the settings for the <javac> 
tasks, errors only go to the ErrorList plugin. Click on the error takes 
you to the offending line in the code. I tend to use the nowarn="on" 
attribute to <javac> to keep the noise down.


Matt Benson wrote:
> --- "Digambar, Shaligram  (Consultant)"
> <Shaligram.Digambar@GTECH.COM> wrote:
>>I don't think it is an IDE feature. It could be
> Without being able to name one, I am 99% sure there
> are Java IDEs that will allow you to click on
> compilation errors and take you to the relevant spot
> in the code.  I think that kind of thing is a little
> beyond the scope of Ant.
>>whereas if I use ant <javac> task I get following
> What output do you get if you use the <exec> task and
> redirect the error output to a file?
> -Matt
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message