ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon David Kelly <>
Subject Re: Saxon/Xerces
Date Wed, 19 Mar 2003 10:22:43 GMT

If you take a look in the ant manual 
( 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
Jar Name: An XSL transformer like Xalan or XSL:P
Needed for: style task

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.


Simon 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:
>For additional commands, e-mail:


"If it can't be done on the command line,
it ain't worth doing!"

View raw message