ant 自动测试问题!
Buildfile: D:lxit.antbuild-elevate.xml
prepare:
compile:
jar:
[jar] Building jar: D:lxit.antlxit.ant.jar
junit:
[junit] Running com.lxit.party.dao3.CmsUserMngTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.86 sec
[junit] Running com.lxit.party.dao3.PaymentDaoImplTest
[junit] Tests run: 3, Failures: 2, Errors: 0, Time elapsed: 6.391 sec
[junit] Test com.lxit.party.dao3.PaymentDaoImplTest FAILED
[junit] Running com.lxit.party.dao3.PlayCardDaoImplTest
[junit] Tests run: 3, Failures: 2, Errors: 0, Time elapsed: 6.188 sec
[junit] Test com.lxit.party.dao3.PlayCardDaoImplTest FAILED
[junit] Running com.lxit.party.dao3.ViolationDaoImplTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 6.39 sec
[junitreport] Processing D:lxit.antbuildjunitreportTESTS-TestSuites.xml to C:DOCUME~1ADMINI~1LOCALS~1Tempnull748600747
[junitreport] Loading stylesheet jar:file:/E:/ruanjian/tool/eclipse-3.7.2/plugins/org.apache.ant_1.8.2.v20120109-1030/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] : Error! 当安全处理功能设置为“真”时, 不允许使用扩展元素 'redirect'。
[junitreport] Failed to process D:lxit.antbuildjunitreportTESTS-TestSuites.xml
BUILD FAILED
D:lxit.antbuild-elevate.xml:63: Errors while applying transformations: javax.xml.transform.TransformerException: java.lang.RuntimeException: 当安全处理功能设置为“真”时, 不允许使用扩展元素 'redirect'。
Total time: 27 seconds
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论