ant 自动测试问题!

回首_蛋疼依旧 发布于 2012/12/26 17:49
阅读 543
收藏 0
Buildfile: D:\lxit.ant\build-elevate.xml
prepare:
compile:
jar:
      [jar] Building jar: D:\lxit.ant\lxit.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.ant\build\junitreport\TESTS-TestSuites.xml to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\null748600747
[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.ant\build\junitreport\TESTS-TestSuites.xml


BUILD FAILED
D:\lxit.ant\build-elevate.xml:63: Errors while applying transformations: javax.xml.transform.TransformerException: java.lang.RuntimeException: 当安全处理功能设置为“真”时, 不允许使用扩展元素 'redirect'。


Total time: 27 seconds

加载中
0
ubuntuvim
ubuntuvim

这么久都没人回答???

返回顶部
顶部