spring 以Ant Build方式运行build.xml文件,报warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds 的解决办法

spring 以Ant Build方式运行build.xml文件,报warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds 的解决办法

Buildfile: F:\experience\spring_pdf\sourcecode\example1\build.xml
compile:
[javac] F:\experience\spring_pdf\sourcecode\example1\build.xml:25: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
run:
[java] 十一月 01, 2016 12:40:15 上午 com.openv.spring.HelloWorldClient main
[java] 信息: "Hello World!"
BUILD SUCCESSFUL
Total time: 812 milliseconds

只需要根据提示在javac任务中添加includeAntRuntime="false"属性即可。

spring 以Ant Build方式运行build.xml文件,报warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds 的解决办法

         <javac destdir="classes" source="1.5" target="1.5" includeAntRuntime="false"
deprecation="false" optimize="false" failonerror="true">
<src path="src"/>
<classpath refid="lib"/>
</javac>

spring 以Ant Build方式运行build.xml文件,报warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds 的解决办法

上一篇:python3 UnicodeEncodeError: 'gbk' codec can't encode character '\xa0' in position 30: illegal multibyte sequence


下一篇:Python网络爬虫