Search code examples
antwarningsjavac

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


Solution

  • Have you tried

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

    Note that this does not disable all kinds of warnings.