You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Jo...@wellsfargo.com on 2005/03/03 23:21:03 UTC

including stylesheet in TESTS-TestSuites-Cactus.xml?

Hi all,
 
Is there a way to make the maven cactus plugin add an xsl stylesheet
processing instruction to TESTS-TestSuites-Cactus.xml?  I'm thinking about
something like this: <?xml-stylesheet type="text/xsl"
href="../../../cactus-report.xsl"?>  I'd like to be able to read the file
with a browser and see it converted to html.
 
thanks
 
 
John Gregg
Application Systems Engineer
Wells Fargo Private Client Services Technology
 

Re: including stylesheet in TESTS-TestSuites-Cactus.xml?

Posted by Milan Trajkovic <mi...@gmail.com>.
This works form me.

	<target name="report">
	       <junitreport todir="${cactus.report.html}/" >
	       <fileset dir="${cactus.report}" includes="TEST-*.xml"/>
	       <report todir="${cactus.report.html}/" format="frames"/>	  
   	     </junitreport>	
	</target>

In cactus.report.html dir you will get html version of report.

Regards,
Milan
	

On Thu, 3 Mar 2005 16:21:03 -0600, John.E.Gregg@wellsfargo.com
<Jo...@wellsfargo.com> wrote:
> Hi all,
> 
> Is there a way to make the maven cactus plugin add an xsl stylesheet
> processing instruction to TESTS-TestSuites-Cactus.xml?  I'm thinking about
> something like this: <?xml-stylesheet type="text/xsl"
> href="../../../cactus-report.xsl"?>  I'd like to be able to read the file
> with a browser and see it converted to html.
> 
> thanks
> 
> John Gregg
> Application Systems Engineer
> Wells Fargo Private Client Services Technology
> 
>