Ant script gives the following warning msg when it runs
warning 'includeantruntime' was not set , defaulting to build.sysclasspath=last; set to false for repeatable builds.
Resolution: That's caused by a misfeature introduced in Ant 1.8. Just add an attribute of that name to the javac task, set it to false, and forget it ever happened.
<javac srcdir="${src.dir}" excludes="org/openremote/webconsole/client/**" includes="**" encoding="utf-8" destdir="${web-inf.dir}/classes" source="1.5" target="1.5" nowarn="true" debug="true" debuglevel="lines,vars,source" includeantruntime="false">
本文解决了使用Antscript运行时出现的'includeantruntime'警告消息问题,通过添加特定属性来解决不可重复构建的问题。
899

被折叠的 条评论
为什么被折叠?



