ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject RE: Problem with JUnitReport optional Task
Date Wed, 04 Apr 2001 16:53:29 GMT
IMHO:
Remove parser.jar from your ant classpath. It prevents Xalan from seing
Xerces.

-- 
 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: Jeff [mailto:jeffe@fl.ensco.com]
> Sent: Wednesday, April 04, 2001 3:20 PM
> To: ant User
> Subject: Problem with JUnitReport optional Task
> 
> 
> I am trying to use the optional Task JUnitReport but I am
> getting the following error:
>    C:\BUILD\build.xml:115: Errors while applying
> transformations
>    org.apache.xalan.xslt.XSLProcessorException:
>     at
> org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1799)
> 
> Is this a classpath issue, my classpath is set as follows:
> My classpath is set to:
> C:\junit3.5\junit.jar;C:\xalan-j_1_2_2\xalan.jar;C:\xalan-j_1_
> 2_\xerces.jar;C:\xalan-j_1_2_2\bsf.jar
> 
> Full error message:
> 
> XSL Error: Cannot use a DTMLiaison for a input DOM node...
> pass a org.apache.xalan.xpath.xdom.XercesLiaison instead!
> XSL Error: SAX 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(XSLTEngin
> 
> eImpl.java:919)
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:643)
> 
> 
>         at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.tra
> 
> nsform(AggregateTransformer.java:460)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.cre
> 
> atePackageList(AggregateTransformer.java:310)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.tra
> 
> nsform(AggregateTransformer.java:233)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.exec
> 
> ute(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.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)
> 
> BUILD FAILED
> 
> C:\BUILD\build.xml:115: 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(XSLTEngin
> 
> eImpl.java:919)
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:643)
> 
> 
>         at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.tra
> 
> nsform(AggregateTransformer.java:460)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.cre
> 
> atePackageList(AggregateTransformer.java:310)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.tra
> 
> nsform(AggregateTransformer.java:233)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.exec
> 
> ute(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.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
> 
> Thanks,
> 
> Jeff
> 
> 

Mime
View raw message