ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: JUnitReport problem
Date Fri, 21 Dec 2001 14:00:06 GMT
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator

But its already implicitly <taskdef>'d.... so there is no need to do so.

    Erik


----- Original Message -----
From: "Gero Vermaas" <Gero.Vermaas@sun.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Friday, December 21, 2001 9:01 AM
Subject: Re: JUnitReport problem


> OK, what is the junitreport task then?
>
> Gero
>
> On Fri, 2001-12-21 at 14:43, Erik Hatcher wrote:
>
>     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" <Gero.Vermaas@sun.com>
>     To: <ant-user@jakarta.apache.org>
>     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:ant-user-unsubscribe@jakarta.apache.org>
>     For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>
>
>
> --
> When in doubt: THINK! -- Peter's Laws
> -------
> Sun internal homepage: http://www.holland/~gv103953/
>


--
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