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>