ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanel, Oliver" <Ha...@e-Spirit.de>
Subject junitreport problem
Date Thu, 01 Mar 2001 10:45:51 GMT
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.jar;..\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(XercesLiaison.java
:457)
        at
org.apache.xalan.xpath.xml.XMLParserLiaisonDefault.getRoot(XMLParserLiaisonD
efault.java:1429)
        at
org.apache.xalan.xpath.xml.XMLParserLiaisonDefault.getXLocatorFromNode(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(SimpleNodeLocator.java:1
437)
        at
org.apache.xalan.xpath.SimpleNodeLocator.step(SimpleNodeLocator.java:499)
        at
org.apache.xalan.xpath.SimpleNodeLocator.locationPath(SimpleNodeLocator.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(ElemTemplateElemen
t.java:661)
        at
org.apache.xalan.xslt.ElemTemplateElement.childrenToString(ElemTemplateEleme
nt.java:721)
        at
org.apache.xalan.xslt.ElemAttribute.execute(ElemAttribute.java:185)
        at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java:661)
        at
org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java:254)
        at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java:661)
        at
org.apache.xalan.xslt.ElemTemplateElement.transformChild(ElemTemplateElement
.java:1199)
        at
org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChildren(ElemTemp
lateElement.java:962)
        at
org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemplates.java:176
)
        at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java:661)
        at
org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java:254)
        at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java:661)
        at
org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java:254)
        at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java:661)
        at
org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java:254)
        at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java:661)
        at
org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java:254)
        at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
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.AggregateTransformer.transform(
AggregateTransformer.java:454)
        at
org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.createPack
ageDetails(AggregateTransformer.java:414)
        at
org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.createAllP
ackageDetails(AggregateTransformer.java:389)
        at
org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.transform(
AggregateTransformer.java:237)
        at
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.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