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

<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"

posted @ 2011-11-23 12:44  xwdreamer  阅读(22819)  评论(1)    收藏  举报