ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shorn Tolley" <>
Subject How do I get rid of the "Compile failed..." message from Ant when the javac task reports erros?
Date Fri, 31 May 2002 22:31:18 GMT
I'm pretty sure this happens with all Ant versions, but the version I'm
using at the moment is 1.4.1.

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
But, it also always outputs the following after outputting information about
the syntax errors:


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

Is there any way to get rid of this message? I've tried providing -quiet on
the command line, I've looked in the Ant manual, Ant FAQ and JGuru Ant FAQ
and I can't find an answer.


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

View raw message