<project name="subant" default="subant1">
- <property name="build.dir" value="subant.build"/>
- <target name="subant1">
- <subant target="">
- <property name="build.dir" value="subant1.build"/>
- <property name="not.overloaded" value="not.overloaded"/>
- <fileset dir="." includes="*/build.xml"/>
- </subant>
- </target>
+ <property name="build.dir" value="subant.build"/>
+ <target name="subant1">
+ <subant target="">
+ <property name="build.dir" value="subant1.build"/>
+ <property name="not.overloaded" value="not.overloaded"/>
+ <fileset dir="." includes="*/build.xml"/>
+ </subant>
+ </target>
</project>
@@ -425,11 +463,11 @@
<subant target="">
- <propertyset>
+ <propertyset>
<propertyref prefix="toplevel"/>
<mapper type="glob" from="foo*" to="bar*"/>
- </propertyset>
- <fileset dir="." includes="*/build.xml"/>
+ </propertyset>
+ <fileset dir="." includes="*/build.xml"/>
</subant>
@@ -439,7 +477,7 @@
<subant target="compile" genericantfile="/opt/project/build1.xml">
- <dirset dir="." includes="projects*"/>
+ <dirset dir="." includes="projects*"/>
</subant>
@@ -507,6 +545,16 @@
the root buildfile is capable to run the whole build over all
modules.
+
+
+ <subant failonerror="false">
+ <fileset dir="." includes="**/build.xml" excludes="build.xml"/>
+ <target name="clean"/>
+ <target name="build"/>
+ </subant>
+
+
+ Does a "clean build" for each subproject.
@@ -537,4 +585,4 @@