ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nestel, Frank IZ/HZA-IC4" <neste...@de.ina.com>
Subject RE: Saxon/Xerces
Date Wed, 19 Mar 2003 10:54:40 GMT

The problem seems to be with junitreport task.

Style was fine as far as I remember, though I
usually start saxon in a separate JVM to do my
styling. It's still faster :-)

> -----Original Message-----
> From: Simon David Kelly [mailto:PaserException@netscape.net] 
> Sent: Wednesday, March 19, 2003 11:23 AM
> To: Ant Users List
> Subject: Re: Saxon/Xerces
> 
> 
> Justin,
> 
> If you take a look in the ant manual 
> (http://ant.apache.org/manual/index.html) in the Installing 
> ant section. 
>  The section on Library Dependencies shows the jars you need 
> to include 
> certain functionality in ant.
> 
> First in the list is
> Quote:
> Jar Name: An XSL transformer like Xalan or XSL:P
> Needed for: style task
> unQuote
> 
> You should be able to use something other than xalan as long 
> as the (and 
> don't quote me on this) classes required are of the same name. I 
> *think*, and again don't quote me on this, that the major 
> tasks are all 
> named the same i.e. Process etc., and ant will *somehow* bypass the 
> package naming.
> 
> Cheers
> 
> Simon
> 
> Justin.Thomas@RCP.co.uk wrote:
> 
> >Please can someone help me out with my problem?
> >
> >I don't want to use XALAN in ANT because it is causing problems with 
> >other projects I am running.  I want ANT to use Saxon as the XSL 
> >transformer.  I must be able to specify this in my 
> junitreport section?
> >
> >here is my generation part, what do I need to add to make it 
> use saxon?
> >
> >Thanks in advance
> >
> >
> > <target name="allTestsOutput" >
> >        <junit printsummary="true">
> >            <formatter type="xml"/>
> >         
> >            
> >            <batchtest todir="${reports.dir}">
> >                <fileset dir="${build.dir}" 
> includes="**/*Test.class"/>
> >            </batchtest>
> >
> >            <classpath>             
> >                <pathelement location="${build.dir}"/>
> >            </classpath>
> >        </junit>
> >        
> >        <!-- produce nice html report-->
> >        <junitreport todir="${reports.dir}">
> >            <fileset dir="${reports.dir}">
> >                <include name="TEST-*.xml"/>
> >            </fileset>
> >
> >            <report format="frames" todir="${reports.dir}/html"/>
> >        </junitreport>
> >        
> >    </target>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >For additional commands, e-mail: user-help@ant.apache.org
> >
> >  
> >
> 
> -- 
> Simon
> 
> "If it can't be done on the command line,
> it ain't worth doing!"
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
View raw message