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">
9 <taskdef name="gant" classname="org.codehaus.gant.ant.Gant">
10 <classpath refid="gant.classpath"/>
13 <target name="doGant">
14 <gant file="${gant.script}"/>