ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gero Vermaas <Gero.Verm...@sun.com>
Subject JUnitReport problem
Date Fri, 21 Dec 2001 13:17:04 GMT
Hi,

I'm trying to use the junitreport task, but I get the error that the
nested fileset is not supported. If I remove this message I get the same
message for the report element.

I'm using Ant 1.4.1 on Linux with JDK1.3.1

Below are relevant parts of the build.xml file:

    <taskdef name="junit"
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
    <taskdef name="junitreport"
classname="org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFormatter" />


  <target name="junitreport" depends="test">
    <mkdir dir="test/build/reports/html" />
    <junitreport todir="test/build/reports">
       <fileset dir="./reports">
           <include name="TEST-*.xml"/>
       </fileset>
       <report format="frames" todir="./report/html"/>
    </junitreport>
  </target>

Any ideas what I'd doing wrong?

Regards,
Gero
-- 
The squeaky weel gets replaced -- Peter's Laws
-------
Sun internal homepage: http://www.holland/~gv103953/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message