ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject RE: junitreport problem
Date Thu, 01 Mar 2001 12:22:03 GMT
Try setting xerces.jar before parser.jar and tell me if it solves your
problem.

-- 
 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: Hanel, Oliver [mailto:Hanel@e-Spirit.de]
> Sent: Thursday, March 01, 2001 11:46 AM
> To: 'ant-user@jakarta.apache.org'
> Subject: junitreport problem
> 
> 
> Hi,
> i'm using:
> 
> ant 1.3b3
> junit3.4
> xalan 1.2.2
> xerces from xalan 1.2.2
> 
> I'm trying to get a report from one simple TEST-*.xml file, but during
> generation the following error occurs. Maybe someone might 
> have an advice.
> Thanks,
>  Oliver
> 
> --------------------------------------------------------------
> --------------
> --------------------------------------------------------------
> Buildfile: build.xml
> 
> init:
>      [echo] --------- SDB-Tests 0.1 ---------
> 
> env:
>      [echo] build.compiler = jikes
>      [echo] java.class.path =
> ..\SDB-Tools\etc\ant.jar;..\SDB-Tools\etc\optional.jar;..\SDB-
> Tools\etc\juni
> t3.4.jar;..\SDB-Tools\etc\parser.jar;..\SDB-Tools\etc\xalan.ja
> r;..\SDB-Tools
> \etc\xerces.jar;c:\Java\jdk1.3\lib\tools.jar;..\SDB-Tools\etc
>      [echo] java.home = c:\Java\jdk1.3\jre
>      [echo] user.home = C:\WINNT\Profiles\hanel
>     
> 
> report:
> [junitreport] Transform time for all-packages.xsl: 1041ms
> [junitreport] Transform time for all-classes.xsl: 321ms
> [junitreport] Transform time for overview-packages.xsl: 400ms
> [junitreport] Transform time for class-details.xsl: 221ms
> [junitreport] Transform time for classes-list.xsl: 160ms
> 
> BUILD FAILED
> 
> java.lang.NoSuchMethodError
>         at
> org.apache.xalan.xpath.xdom.XercesLiaison.getParentOfNode(Xerc
> esLiaison.java
> :457)
>         at
> org.apache.xalan.xpath.xml.XMLParserLiaisonDefault.getRoot(XML
> ParserLiaisonD
> efault.java:1429)
>         at
> org.apache.xalan.xpath.xml.XMLParserLiaisonDefault.getXLocator
> FromNode(XMLPa
> rserLiaisonDefault.java:2039)
>         at org.apache.xalan.xpath.XPath.locationPath(XPath.java:959)
>         at org.apache.xalan.xpath.XPath.execute(XPath.java:1328)
>         at org.apache.xalan.xpath.XPath.gt(XPath.java:659)
>         at org.apache.xalan.xpath.XPath.execute(XPath.java:1362)
>         at org.apache.xalan.xpath.XPath.predicate(XPath.java:981)
>         at
> org.apache.xalan.xpath.SimpleNodeLocator.predicates(SimpleNode
> Locator.java:1
> 437)
>         at
> org.apache.xalan.xpath.SimpleNodeLocator.step(SimpleNodeLocato
> r.java:499)
>         at
> org.apache.xalan.xpath.SimpleNodeLocator.locationPath(SimpleNo
> deLocator.java
> :321)
>         at org.apache.xalan.xpath.XPath.locationPath(XPath.java:964)
>         at org.apache.xalan.xpath.XPath.execute(XPath.java:1385)
>         at org.apache.xalan.xpath.XPath.execute(XPath.java:1354)
>         at org.apache.xalan.xpath.XPath.execute(XPath.java:311)
>         at 
> org.apache.xalan.xslt.ElemChoose.execute(ElemChoose.java:118)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(Elem
> TemplateElemen
> t.java:661)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.childrenToString(Ele
> mTemplateEleme
> nt.java:721)
>         at
> org.apache.xalan.xslt.ElemAttribute.execute(ElemAttribute.java:185)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(Elem
> TemplateElemen
> t.java:661)
>         at
> org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralRes
> ult.java:254)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(Elem
> TemplateElemen
> t.java:661)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.transformChild(ElemT
> emplateElement
> .java:1199)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChi
> ldren(ElemTemp
> lateElement.java:962)
>         at
> org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemp
> lates.java:176
> )
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(Elem
> TemplateElemen
> t.java:661)
>         at
> org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralRes
> ult.java:254)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(Elem
> TemplateElemen
> t.java:661)
>         at
> org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralRes
> ult.java:254)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(Elem
> TemplateElemen
> t.java:661)
>         at
> org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralRes
> ult.java:254)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(Elem
> TemplateElemen
> t.java:661)
>         at
> org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralRes
> ult.java:254)
>         at
> org.apache.xalan.xslt.ElemTemplateElement.executeChildren(Elem
> TemplateElemen
> t.java:661)
>         at 
> org.apache.xalan.xslt.ElemTemplate.execute(ElemTemplate.java:145)
>         at
> org.apache.xalan.xslt.StylesheetRoot.process(StylesheetRoot.java:446)
>         at
> org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:722)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransfor
> mer.transform(
> AggregateTransformer.java:454)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransfor
> mer.createPack
> ageDetails(AggregateTransformer.java:414)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransfor
> mer.createAllP
> ackageDetails(AggregateTransformer.java:389)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransfor
> mer.transform(
> AggregateTransformer.java:237)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregat
> or.execute(XML
> ResultAggregator.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.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)
> 

Mime
View raw message