Thanks all Solved it.
junit report makes use of org.apache.xml.resolver.tools.CatalogResolverclass which was not there in claspath when i used <xslt> . Added the jar. After that everything went fine On 11/2/07, Ramu Sethu <[EMAIL PROTECTED]> wrote: > > Hi Jan > I think i didn't mention my problem clearly > > check.xml transforms raw.xml to html report by using > > <xslt in="raw.xml" style="checkstyle.xsl" out="output.txt"> > // assign some property > </xslt> > > I tried the above code to transform my aggregated junit output xml ( > Testsuites.xml) to html output using > > <xslt in="Result\etc\TESTS-TestSuites.xml" style="Result\etc\junit- > frames.xsl" out="Result\etc\output.txt"> > </xslt> > This is not working > > Is there any diffrence between the above two code blocks? > Am i missing something? > > > On 11/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > AFAIK there are no transformations of junit tests in check.xml (only via > > <import>ed from the build.xml). > > In check.xml Checkstyle reports are transformed to several output > > formats (text, html, ...) > > > > For writing your own stylesheets you could consult > > > > http://svn.apache.org/repos/asf/ant/core/trunk/src/etc/junit-frames.xsl > > http://svn.apache.org/repos/asf/ant/core/trunk/src/etc/junit-noframes.xsl > > > > > > Jan > > > > >-----Ursprüngliche Nachricht----- > > >Von: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] Im Auftrag von > > >Ramu Sethu > > >Gesendet: Donnerstag, 1. November 2007 08:38 > > >An: Ant Users List > > >Betreff: Clarification in xslt task > > > > > >Hi all > > > > > >We are using junitreport task in our project. it goes like this > > ><junitreport > > > > <fileset dir="Result\etc" includes="TEST-*.xml"> > > > </fileset> > > > <report format="frames" styledir="Result\etc" todir="Result"> > > > </report> > > > </junitreport> > > > > > >I need to use the same aggreated xml for another xslt transform > > >so i thought of using <xslt> task. > > >Had a look at check.xml in ant source code > > >and tried like this > > > > > ><xslt in="Result\etc\TESTS-TestSuites.xml" style="Result\etc\junit- > > >frames.xsl" > > > out="Result\etc\output.txt"> > > ></xslt> > > >I was expecting the same output of junit report.... But i din > > >get any out > > >put. > > >Trasformation got over in 3 secs. Only empty output.txt is created. > > >No html page is created. > > > > > >Can anybody provide some help on this? > > > > > > > > > > > > > > >-- > > >Thank you > > >Ramu S > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Thank you > Ramu S > > If A is success in life, then A equals x plus y plus z. Work is x; y is > play; and z is keeping your mouth shut. > - Albert Einstein -- Thank you Ramu S If A is success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut. - Albert Einstein
