One ant script calls another antscript and dir setting : Separated Build File « Ant « Java






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>

   
  








Related examples in the same category

1.Use main ant build file call sub build file
2.Ant call another ant script
3.Ant script calls another ant script