ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barry Jia <b...@brightspark.com>
Subject Help need for Junitreport
Date Tue, 07 Aug 2001 20:57:28 GMT

When I use junitreport in my build file,
if my build.xml is like below, I got "Class
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator
 doesn't support the nested "classpath" element", if I remove classpath
part, it can not find xalan class,
how to link the xalon *.jar within the junitreport ? 
          <junitreport todir="./">
                 <classpath>
				<pathelement
path="D:\Xalan2\xalan-j_2_2_D6\bin\xalan.jar"/>
                        <pathelement
path="D:\Xalan2\xalan-j_2_2_D6\bin\xsltc.jar"/>
                        <pathelement
path="D:\Xalan2\xalan-j_2_2_D6\bin\xalanj1compat.jar"/>
				<pathelement
path="D:\Xalan2\xalan-j_2_2_D6\bin\xerces.jar"/>

                  </classpath>
                  <fileset dir="./">
    				<include name="TEST-*.xml"/>
 			</fileset>
  			<report format="frames" todir="./html"/>
		</junitreport>

Mime
View raw message