ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Lindwall <>
Subject RE: JunitReport
Date Thu, 13 Jun 2002 02:10:22 GMT
I appreciate your helpful reply.

Um, OK I don't know XSL but I would think someone could provide a simple example to get me

If I could see how to access a jvm property from inside the junit-noframes.xsl file then I'd
be good to go.


> -----Original Message-----
> From: Erik Hatcher []
> Sent: Friday, June 07, 2002 5:08 PM
> To: Ant Users List
> Subject: Re: JunitReport
> Yes, you can customize the report easily (if you know XSL) from
> <junitreport>.  Simply use the styledir attribute on the 
> <report> element
> and provide your own XSL files (see the Ant docs for 
> mandatory file names
> that you must use).
> As for getting the date/time into them - the best method is 
> probably this:
> you have access to Ant properties so you could, prior to 
> running <junit>,
> set a property with <tstamp> with the format you want and 
> then output it in
> the HTML generated.
> As for source code, all Jakarta source code is available via 
> CVS. Here's a
> link right to the .junit package that contains all the 
> related code for
> <junit> and <junitreport>:

You could even implement your own JUnitResultFormatter and hook it directly
into <junit>/<format> (see docs for details).


----- Original Message -----
From: "John Lindwall" <>
To: "'Ant Users List'" <>
Sent: Friday, June 07, 2002 7:47 PM
Subject: JunitReport

> Ant 1.4.1
> Using JUnitReport can I customize the output at all?  I want the date/time
of the test execution to appear on the main page.
> BTW Where is the source code to this task to be found? Maybe that is the

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

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