ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Cody Johnston <paul.c...@lucidainc.com>
Subject Re: Question on junitreport
Date Tue, 13 Nov 2001 23:02:24 GMT
On Tuesday 13 November 2001 02:00 pm, you wrote:
> I am using ANT1.4 with Xalan-j_2_2_D12.  Here is the junitreport task I
> setup,

I have had no problems with 2.2.D09, you might give that a shot.

>
> <target name="report">
>   <junitreport>
>     <fileset dir="/home/yhuang/cvs/af/efc/build/test-results">
>       <include name="Test-*.xml"/>
>     </fileset>
>     <report format="frames"/>
>   </junitreport>
> </target>
>
> I am getting the following error. Any idea?
>
> [junitreport] Using Xalan version: Xalan Java 2.2.D12
>
> BUILD FAILED
>
> java.lang.NoSuchMethodError
>         at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.addNode(DOM2DTM.java:273)
>         at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.<init>(DOM2DTM.java:157)
>         at
> org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:193)
>         at
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java
>: 634)
>         at
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java
>: 1092)
>         at
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java
>: 1070)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.Xalan2Executor.execute(Aggrega
>t eTransformer.java:321)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.transform
>( AggregateTransformer.java:190)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.execute(XM
>L ResultAggregator.java:170)
>         at org.apache.tools.ant.Task.perform(Task.java:217)
>         at org.apache.tools.ant.Target.execute(Target.java:164)
>         at org.apache.tools.ant.Target.performTasks(Target.java:182)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:601)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:560)
>         at org.apache.tools.ant.Main.runBuild(Main.java:454)
>         at org.apache.tools.ant.Main.start(Main.java:153)
>         at org.apache.tools.ant.Main.main(Main.java:176)
>
> Regards,
>
> Ying-Yi

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message