ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kendall Collett" <kcoll...@convio.com>
Subject Re: How do I get rid of the "Compile failed..." message from Ant when the javac task reports erros?
Date Sat, 01 Jun 2002 18:20:59 GMT
This is also irritating from the emacs perspective in that next-error will
process the "error" in the build file.  When I have more than a couple of
compilation errors, I invariably go "one C-x ` too far" and end up visiting
the build file.  I've gotten used to killing the buffer about a half second
after I do that, but it's still a pain.

Kendall

----- Original Message -----
From: "Shorn Tolley" <shorn_tolley@hotmail.com>
To: <ant-user@jakarta.apache.org>
Sent: Friday, May 31, 2002 17:31
Subject: How do I get rid of the "Compile failed..." message from Ant when
the javac task reports erros?


> [...]
>
> When I'm compiling a project and I have a syntax error, Ant reports line
> numbers and all that guff about the error; excellent, fine, that's what I
> want.
> But, it also always outputs the following after outputting information
about
> the syntax errors:
>
> BUILD FAILED
>
> <location>\build.xml:<line number>: Compile failed, messages should have
> been provided.
>
> This message, which looks like Ant is reporting a syntax error within the
> actual build file, is really annoying. It's annoying because some IDEs
> (NetBeans and IDEA specifically, probably others too) will simply assume
> this message is telling the user about an error in the XML file. When it's
> not really, it's telling the user that some target within the file failed.
>
> [...]




--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message