ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shorn Tolley" <shorn_tol...@hotmail.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 19:09:20 GMT
Yep, that's basically exactly what happens with NetBeans.
And now that I am trying out IDEA, it's even worse, because IDEA reports the
Ant build messages in a kind of hierarchical tree.  For some reason the IDE
propogates the error message to every level, so the superfluous message
tends to clutter up the display.

So this message interferes with the integration of Ant and multiple IDEs
(Emacs / Xemacs, NetBeans and IDEA)

Does any one know why this message is reported?

----- Original Message -----
From: "Kendall Collett" <kcollett@convio.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Saturday, June 01, 2002 7:20 PM
Subject: Re: How do I get rid of the "Compile failed..." message from Ant
when the javac task reports erros?


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

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