1 <project name="Test gant invocation from Ant script" default="doGant">
2 <dirname property="build.dir" file="${ant.file}"/>
3 <property name="project.home" value="${build.dir}/.."/>
4 <property name="gant.home" value="${project.home}/build/lib/gant"/>
6 <path id="gant.classpath">
7 <pathelement location="${project.home}/build/lib/gant_patches.jar"/>
8 <fileset dir="${gant.home}/lib">
9 <include name="*.jar"/>
13 <taskdef name="gant" classname="org.codehaus.gant.ant.Gant">
14 <classpath refid="gant.classpath"/>
17 <target name="doGant">
18 <gant file="${gant.script}"/>