ant构建错误记录

1.出现warning: 'includeantruntime' was not set

问题描述:

ant构建出现下面警告

 [javac] E:\code\maven_workspace\ant_base_1\build.xml:36: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

解决方法:

加入includeantruntime="true" 重新build即可

2.出现
jar:file:/D:/apache-ant-1.8.3/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl

问题描述:

ant构建单元测试生成报告时

解决方法:

ant版本更新为1.9.1,此问题不再出现

你可能感兴趣的:(ant构建错误记录)