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 RE: HTML report failure
Date Thu, 22 Aug 2002 16:41:09 GMT
Thanks. I have got it done. The message said Xalan2 is not there in
classpath..
I was confused and copied it to my Application class path instead of 
ANNT_HOME/lib. I rectified the problem and ant works fine. 

Thanks,
Suresh


>>-----Original Message-----
>>From: Erik Hatcher [mailto:jakarta-ant@ehatchersolutions.com]
>>Sent: Thursday, August 22, 2002 10:05 PM
>>To: Ant Users List
>>Subject: Re: HTML report failure
>>
>>
>>Do what it says and add Xalan to your ANT_HOME/lib directory.  I'm 
>>generating HTML reports all the time, so there is no bug in 
>>this regard.
>>
>>	Erik
>>
>>
>>Suresh Babu Koya wrote:
>>> 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-c
>>om.quark.dit.c
>>> ommon.xsl.TestSuit.xml'
>>> [junitreport] Parsing file:
>>> 
>>'D:\work\qteCVS\DIT\Cypress-India\QTE\build\testreports\TEST-c
>>om.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-T
>>estSuites.xml
>>> is not a valid testsuite XML document
>>>  
>>> BUILD FAILED
>>> 
>>file:D:/work/qteCVS/DIT/Cypress-India/QTE/buildscript/buildtes
>>ts.xml:61:
>>> Errors while applying transformations
>>>         at
>>> 
>>org.apache.tools.ant.taskdefs.optional.junit.AggregateTransfor
>>mer.transform(
>>> AggregateTransformer.java:191)
>>>         at
>>> 
>>org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregat
>>or.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.new
>>Instance(Xalan
>>> Executor.java:116)
>>>         at
>>> 
>>org.apache.tools.ant.taskdefs.optional.junit.AggregateTransfor
>>mer.transform(
>>> AggregateTransformer.java:188)
>>>         at
>>> 
>>org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregat
>>or.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)
>>> 
>>
>>
>>
>>--
>>To unsubscribe, e-mail:   
>><mailto:ant-user-unsubscribe@jakarta.apache.org>
>>For additional commands, e-mail: 
>><mailto:ant-user-help@jakarta.apache.org>
>>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message