<?xml version="1.0" encoding="UTF-8"?>
<project name="myproject" basedir="." default="transform">
<echo message="The base dir is: ${basedir}"/>
<property name="lib.dir" value="jar"/>
<echo message="The base dir is: ${lib.dir}"/>
<path id="test.classpath">
<!-- adding the saxon jar to your classpath -->
<fileset dir="${lib.dir}" includes="*.jar"/>
</path>
<target name="transform">
<xslt in="${basedir} est-output estng-results.xml" style="${basedir} est-output estng-results.xsl"
out="${basedir} est-output estReport.html">
<param name="testNgXslt.outputDir" expression="${basedir} est-output"/>
<classpath refid="test.classpath"/>
</xslt>
</target>
</project>