ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon David Kelly <PaserExcept...@netscape.net>
Subject Re: Saxon/Xerces
Date Wed, 19 Mar 2003 10:22:43 GMT
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!"




Mime
View raw message