且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ant警告 “warning: 'includeantruntime' was not set”解决方法

更新时间:2022-09-21 09:14:55

<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${dest}" />
</target>

修改为

<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${dest}" includeantruntime="on" />
</target>

也就是添加 includeantruntime="on" 



本文转自xwdreamer博客园博客,原文链接:http://www.cnblogs.com/xwdreamer/archive/2011/11/23/2296925.html,如需转载请自行联系原作者