问题
I just want the errors, and nothing else, to be printed out for now. Thanks :)
回答1:
Have you tried
<javac .... nowarn="on">
Note that this does not disable all kinds of warnings.
来源:https://stackoverflow.com/questions/9971015/how-do-you-get-ant-to-not-print-out-javac-warnings