One ant script calls another antscript and dir setting
<project name="ACT" basedir="." default="build"> <property name="prototype" value="prototype"/> <property name="main" value="main"/> <target name="build" description="Building all ACT projects"> <ant antfile="build.xml" dir="${prototype}"/> </target> </project>