Well, I had the same problem --- and surrendered.
It looks like the reference to Xalan is hardcoded
in some parts of Ant. Couldn't it be Jaxp Factory
based??
> -----Original Message-----
> From: Justin Thomas [mailto:Justin.Thomas@RCP.co.uk]
> Sent: Wednesday, March 19, 2003 10:30 AM
> To: 'Ant Users List'
> Subject: Saxon/Xerces
>
>
> 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
>
|