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


Reply via email to