Sorry for the late reply,

Please ensure that you do not have any other parser before xerces in your path (such as parser.jar) or put xerces.jar in front of your other parser.

--
 Stéphane Bailliez
 Software Engineer, Paris - France
 iMediation - http://www.imediation.com
 Disclaimer: All the opinions expressed above are mine and not those from my company.



> -----Original Message-----
> From: Chris Greenlee [mailto:CGreenlee@demandsolutions.co     m]
> Sent: Wednesday, February 28, 2001 9:57 PM
> To: ant-user@jakarta.apache.org
> Subject: junitreport question
>
>
> HI,
>
> I'm having a bit of trouble with the junitreport task, and was hoping
> someone might have some advice.
>
> I'm using:
>
> junit 3.5
> ant 1.3b3
> xerces 1.3.0
> xalan 1.2.2
>
> I'm running a bunch of tests (92) in a junit task, all of
> which pass, so
> the output in my TESTS-xxx.xml file is very uncomplicated.  Directly
> after my junit task, I have a junitreport task:
>
>     <junitreport todir=".">
>         <fileset dir=".">
>             <include name="TEST-*.xml"/>
>         </fileset>
>         <report format="frames" todir="."/>
>     </junitreport>
>
> It's pretty simplistic too, since I'm just trying to see what
> the output
> looks like.  Here's the result I'm getting:
>
> Buildfile: D:\PROJECTS\DMI\adamantium\project\build.xml
>
> BUILD FAILED
>
> build.xml:67: Errors while applying transformations
> --- Nested Exception ---
> org.apache.xalan.xslt.XSLProcessorException:
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1799)
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1691)
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.getSourceTreeFromInput(XS
> LTEngineIm
> pl.java:919)
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:643)
>
>         at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransfor
> mer.transf
> orm(AggregateTransformer.java:454)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransfor
> mer.create
> PackageList (AggregateTransformer.java:304)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransfor
> mer.transf
> orm(AggregateTransformer.java:233)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregat
> or.execute
> (XMLResultAggregator.java:169)
>         at org.apache.tools.ant.Target.execute(Target.java:153)
>         at org.apache.tools.ant.Project.runTarget(Project.java:898)
>         at
> org.apache.tools.ant.Project.executeTarget(Project.java:536)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
>         at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)
>
>         at org.apache.tools.ant.Target.execute(Target.java:153)
>         at org.apache.tools.ant.Project.runTarget(Project.java:898)
>         at
> org.apache.tools.ant.Project.executeTarget(Project.java:536)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
>         at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)
>
>         at org.apache.tools.ant.Target.execute(Target.java:153)
>         at org.apache.tools.ant.Project.runTarget(Project.java:898)
>         at
> org.apache.tools.ant.Project.executeTarget(Project.java:536)
>         at
> org.apache.tools.ant.Project.executeTargets(Project.java:510)
>         at org.apache.tools.ant.Main.runBuild(Main.java:421)
>         at org.apache.tools.ant.Main.main(Main.java:149)
>