diff --git a/docs/manual/CoreTasks/subant.html b/docs/manual/CoreTasks/subant.html index b0829d495..e1330705f 100644 --- a/docs/manual/CoreTasks/subant.html +++ b/docs/manual/CoreTasks/subant.html @@ -123,7 +123,7 @@
Note that the directories will be added to the build path in no particular order, so if order is significant, one should use a file list instead!
@@ -437,6 +425,16 @@ where a file called build.xml can be found. All properties whose name starts with "foo" are passed, their names are changed to start with "bar" instead ++ <subant target="compile" genericantfile="/opt/project/build1.xml"> + <dirset dir="." includes="projects*"/> + </subant> +++ assuming the subdirs of the project dir are called projects1, projects2, projects3 + this snippet will execute the compile target of /opt/project/build1.xml, + setting the basedir to projects1, projects2, projects3 +
<project name="subant" default="subant1"> <property name="build.dir" value="subant.build"/> diff --git a/src/main/org/apache/tools/ant/taskdefs/SubAnt.java b/src/main/org/apache/tools/ant/taskdefs/SubAnt.java index d283f1709..d6fede705 100644 --- a/src/main/org/apache/tools/ant/taskdefs/SubAnt.java +++ b/src/main/org/apache/tools/ant/taskdefs/SubAnt.java @@ -112,7 +112,6 @@ public class SubAnt private boolean inheritAll = false; private boolean inheritRefs = false; private boolean failOnError = true; - private boolean ignoreMissingBuildFile = false; private String output = null; private Vector properties = new Vector(); @@ -140,7 +139,6 @@ public class SubAnt } */ for (int i=0; i