Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Saxon/Xerces

Saxon/Xerces

2003-03-19       - By Justin Thomas
Reply:     1     2     3     4     5     6     7  

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>


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.