diff --git a/docs/manual/CoreTasks/subant.html b/docs/manual/CoreTasks/subant.html index bb5c01a94..75a9ea58c 100644 --- a/docs/manual/CoreTasks/subant.html +++ b/docs/manual/CoreTasks/subant.html @@ -437,7 +437,7 @@ Yes -

since Ant 1.7.

+

since Ant 1.7.

@@ -447,8 +447,8 @@ - - + + @@ -459,7 +459,7 @@ Examples -
 
+
         <project name="subant" default="subant1">
             <property name="build.dir" value="subant.build"/>
@@ -561,7 +561,7 @@
         the root buildfile is capable to run the whole build over all
         modules.
         

- +
         <subant failonerror="false">
             <fileset dir="." includes="**/build.xml" excludes="build.xml"/>
@@ -569,8 +569,18 @@
             <target name="build"/>
         </subant>
         
- -

Does a "clean build" for each subproject.

+ +

Does a "clean build" for each subproject.

+

Hint: because buildfiles are plain xml, you could generate the + masterbuildfile from the common buildfile by using a XSLT transformation: +

+ +
+        <xslt in="common.xml"
+              out="master.xml"
+              style="${ant.home}/etc/common2master.xsl"
+        />
+        
@@ -585,4 +595,4 @@
- + \ No newline at end of file diff --git a/src/etc/common2master.xsl b/src/etc/common2master.xsl new file mode 100644 index 000000000..9ee35bd40 --- /dev/null +++ b/src/etc/common2master.xsl @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]> + + + + +]]> + + + + + <target name="" description=""> + <iterate target=""/> + </target> + + + + + + + + +