ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Babu Koya <sk...@quark.co.in>
Subject HTML report failure
Date Thu, 22 Aug 2002 16:33:44 GMT
Hi group,
 
I am using Ant 1.5 build and on running the Ant script I get the following
error.  The tests run succesfully and the Ant script shows that all the
tests are successful.
But after the HTML generation it reports the following errors.
 
 
It fails in the following part .....
  <junitreport todir="${reports.dir}">
   <fileset dir="${reports.dir}">
    <include name="TEST*.xml"/>
   </fileset>
   <report format="frames" todir="${reports.dir}/html"/>
  </junitreport>
 
I have copied the errors also for your reference. I am having Xalan already
in the class path. What could be the problem?
 

fileset: Setup scanner in dir
D:\work\qteCVS\DIT\Cypress-India\QTE\build\testreports with patternSet{
includes: [TEST*.xml] excludes: [] }
[junitreport] Parsing file:
'D:\work\qteCVS\DIT\Cypress-India\QTE\build\testreports\TEST-com.quark.dit.c
ommon.xsl.TestSuit.xml'
[junitreport] Parsing file:
'D:\work\qteCVS\DIT\Cypress-India\QTE\build\testreports\TEST-com.quark.dit.m
apeditor.map.CreateMapTestSuit.xml'
[junitreport] Parsing file:
'D:\work\qteCVS\DIT\Cypress-India\QTE\build\testreports\TESTS-TestSuites.xml
'
[junitreport] the file
D:\work\qteCVS\DIT\Cypress-India\QTE\build\testreports\TESTS-TestSuites.xml
is not a valid testsuite XML document
 
BUILD FAILED
file:D:/work/qteCVS/DIT/Cypress-India/QTE/buildscript/buildtests.xml:61:
Errors while applying transformations
        at
org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.transform(
AggregateTransformer.java:191)
        at
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.execute(XML
ResultAggregator.java:176)
        at org.apache.tools.ant.Task.perform(Task.java:317)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
        at org.apache.tools.ant.Main.runBuild(Main.java:610)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)
--- Nested Exception ---
Could not find xalan2 nor xalan1 in the classpath. Check
<http://xml.apache.org/xalan-j> http://xml.apache.org/xalan-j
        at
org.apache.tools.ant.taskdefs.optional.junit.XalanExecutor.newInstance(Xalan
Executor.java:116)
        at
org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.transform(
AggregateTransformer.java:188)
        at
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.execute(XML
ResultAggregator.java:176)
        at org.apache.tools.ant.Task.perform(Task.java:317)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
        at org.apache.tools.ant.Main.runBuild(Main.java:610)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message