You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Bret Kumler <bk...@firstam.com> on 2003/12/06 04:19:50 UTC
Question about junit report
I looked at http://ant.apache.org/manual/OptionalTasks/junitreport.html
Where can I find information about changing the xml this task creates?
I want to customize the generated reports.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Question about junit report
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Friday, December 5, 2003, at 10:19 PM, Bret Kumler wrote:
> I looked at http://ant.apache.org/manual/OptionalTasks/junitreport.html
>
> Where can I find information about changing the xml this task creates?
Rather than customize the XML that is created, you would probably just
want to tweak the XSL sheets used to convert the XML data to a report.
Look at the styledir attribute on the <report> element. The XSL files,
I believe are shipped in ANT_HOME/etc so you can just copy those files
to another directory, tweak them, and point the <report> element to
that directory. Keep the XSL file names as-is.
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org