Ant: how do I disable all non-error messages?

Posted by java.is.for.desktop on Stack Overflow See other posts from Stack Overflow or by java.is.for.desktop
Published on 2010-05-19T11:03:26Z Indexed on 2010/05/19 11:10 UTC
Read the original article Hit count: 184

Hello, everyone!

When running ant from command line on my Netbeans projects, I get the following messages hundreds of times, which is very annoying:

Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:javac
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:depend
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/1:nbjpdastart
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:debug
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/1:java

Depending of the kind of the project, there can be much more of such lines.

And this is with the -q or -quiet option.

Any idea, how to disable this message?

Thank you!

© Stack Overflow or respective owner

Related posts about ant

Related posts about command-line