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 started...
If I could see how to access a jvm property from inside the junit-noframes.xsl file then I'd be good to go. John > -----Original Message----- > From: Erik Hatcher [mailto:[EMAIL PROTECTED]] > 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>: > > http://cvs.apache.org/viewcvs/jakarta-ant/src/main/org/apache/ tools/ant/task defs/optional/junit/ You could even implement your own JUnitResultFormatter and hook it directly into <junit>/<format> (see docs for details). Erik ----- Original Message ----- From: "John Lindwall" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> 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 solution? > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
