Ant问题:warning: 'includeantruntime' was not set

init:

compile:
   [javac] E:\workspace\webAdmin\build.xml:28: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repe
atable builds
   [javac] Compiling 1 source file to E:\workspace\webAdmin\build\WEB-INF\classes

BUILD SUCCESSFUL
Total time: 1 second

解决:

<javac srcdir="${build.src}" destdir="${build.dest}">

 改为

<javac srcdir="${build.src}" destdir="${build.dest}" includeantruntime="on"/>

答案参考于网络。谢谢同仁。

你可能感兴趣的:(Ant问题:warning: 'includeantruntime' was not set)