ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <>
Subject RE: still having problems when invoking JUnitReport
Date Thu, 12 Apr 2001 11:36:23 GMT

I can already provide you with an alpha version, but you will be somewhat on
your own here...
I don't have much time for Ant right now unfortunately but I will do my

Alpha sorting and some errors/failures coloring are missing and probably a
few other minor bugs exists but this should mostly be cosmetic.

remove the report element from the junitreport so that only the xml is
Then process the XML using the following:

<java classname="org.apache.xalan.xslt.Process" fork="no">
	<arg line="-IN ${}/TESTS-TestSuites.xml -XSL
${unit-tests.xsl} -EDUMP -PARAM output.dir

the output.dir parameter passed to the stylesheet is self explanatory.

It will work with either Xalan1 and Xalan2 with their respective bsf.jar and
xerces.jar provided in the distrib since org.apache.xalan.xslt.Process
exists in both xalan.

Hope this helps.

If you feel like to fix the bugs or enhance the xsl you're welcome. :)

 St├ęphane Bailliez 
 Software Engineer, Paris - France 
 iMediation - 
 Disclaimer: All the opinions expressed above are mine and not those from my

> -----Original Message-----
> From: Ingmar Stein []
> Sent: Thursday, April 12, 2001 1:07 PM
> To:
> Subject: Re: still having problems when invoking JUnitReport
> > mmm... looks strange... it normally happens when there is 
> another parser
> in front of xerces.
> > Are you sure you don't have anything in your JDK ext directory ?
> Yeah, sure.
> > If not try replacing your xerces from xalan 1.2.2 with a 
> xerces 1.3.0 just
> to see if it changes something.
> This results in exactly the same behavior :-(
> > I'm planning to remove this dirty xsl processing in 1.4 and 
> use a single
> stylesheet with multiple output using the
> > xalan redirect extension. It will be much more simple to 
> run it and modify
> it.
> > I hope to submit this soon.
> That would be great. When do you think you'll have this ready?
> Ingmar

View raw message