Why are you taskdef'ing either of those? Both of those tasks are built into the optional JAR file... just drop that into your ANT_HOME/lib directory and you should be all set without the <taskdef>'s. SummaryJUnitResultFormatter is not the <junitreport> task anyway - and that is why you get the fileset error.
Erik ----- Original Message ----- From: "Gero Vermaas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 21, 2001 8:17 AM Subject: JUnitReport problem > 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.SummaryJUnitResultFo rmatter" /> > > > <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/ > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>