Browse Source

change the example provided in the subant documentation to subant on a

fileset without failonerror, rather than a subant on a dirset
Submitted by:	Dominique Devienne


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274579 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 22 years ago
parent
commit
409a78c704
2 changed files with 10 additions and 10 deletions
  1. +5
    -5
      docs/manual/CoreTasks/subant.html
  2. +5
    -5
      proposal/xdocs/src/org/apache/tools/ant/taskdefs/SubAnt.xml

+ 5
- 5
docs/manual/CoreTasks/subant.html View File

@@ -349,11 +349,11 @@
<project name="subant" default="subant1">
<property name="build.dir" value="subant.build"/>
<target name="subant1">
<subant failonerror="false" target="">
<property name="build.dir" value="subant1.build"/>
<property name="not.overloaded" value="not.overloaded"/>
<dirset dir="." includes="*"/>
</subant>
<subant target="">
<property name="build.dir" value="subant1.build"/>
<property name="not.overloaded" value="not.overloaded"/>
<fileset dir="." includes="*/build.xml"/>
</subant>
</target>
</project>
</pre>


+ 5
- 5
proposal/xdocs/src/org/apache/tools/ant/taskdefs/SubAnt.xml View File

@@ -14,11 +14,11 @@
&lt;project name="subant" default="subant1"&gt;
&lt;property name="build.dir" value="subant.build"/&gt;
&lt;target name="subant1"&gt;
&lt;subant failonerror="false" target=""&gt;
&lt;property name="build.dir" value="subant1.build"/&gt;
&lt;property name="not.overloaded" value="not.overloaded"/&gt;
&lt;dirset dir="." includes="*"/&gt;
&lt;/subant&gt;
&lt;subant target=""&gt;
&lt;property name="build.dir" value="subant1.build"/&gt;
&lt;property name="not.overloaded" value="not.overloaded"/&gt;
&lt;fileset dir="." includes="*/build.xml"/&gt;
&lt;/subant&gt;
&lt;/target&gt;
&lt;/project&gt;
</pre>


Loading…
Cancel
Save