Java Confused
Java Confused

Reputation: 153

How do you get *ant* to not print out javac warnings?

I just want the errors, and nothing else, to be printed out for now. Thanks :)

Upvotes: 14

Views: 10958

Answers (1)

Thilo
Thilo

Reputation: 262474

Have you tried

<javac .... nowarn="on"> 

Note that this does not disable all kinds of warnings.

Upvotes: 16

Related Questions