你如何获得*蚂蚁*不打印出javac的警告? [英] How do you get *ant* to not print out javac warnings?

查看:164
本文介绍了你如何获得*蚂蚁*不打印出javac的警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只想错误,没有别的,要打印出来了。感谢:)

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

推荐答案

你试过

<javac .... nowarn="true"> 

请注意,此<一个href=\"http://stackoverflow.com/questions/9613857/cannot-stop-ant-from-generating-compiler-warnings\">does不要禁用的所有的各种警告的。

Note that this does not disable all kinds of warnings.

这篇关于你如何获得*蚂蚁*不打印出javac的警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆