Browse Source

Fix the example regarding dir-attribute and add an additional example for that.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@377744 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 19 years ago
parent
commit
59309ba224
1 changed files with 11 additions and 4 deletions
  1. +11
    -4
      docs/manual/CoreTasks/ant.html

+ 11
- 4
docs/manual/CoreTasks/ant.html View File

@@ -199,8 +199,7 @@ details:</p>

<h3>Examples</h3>
<blockquote><pre>
&lt;ant antfile=&quot;subproject/subbuild.xml&quot;
dir=&quot;subproject&quot; target=&quot;compile&quot;/&gt;
&lt;ant antfile=&quot;subproject/subbuild.xml&quot; target=&quot;compile&quot;/&gt;

&lt;ant dir=&quot;subproject&quot;/&gt;

@@ -213,6 +212,14 @@ details:</p>
&lt;property name=&quot;output.type&quot; value=&quot;html&quot;/&gt;
&lt;/ant&gt;
</pre></blockquote>

<p>These lines invoke the same build file:</p>
<blockquote><pre>
&lt;ant antfile=&quot;sub1/sub2/build.xml&quot; /&gt;
&lt;ant antfile=&quot;sub2/build.xml&quot; dir=&quot;sub1&quot; /&gt;
&lt;ant antfile=&quot;build.xml&quot; dir=&quot;sub1/sub2&quot; /&gt;
</pre></blockquote>

<p>The build file of the calling project defines some
<code>&lt;path&gt;</code> elements like this:</p>

@@ -269,8 +276,8 @@ a <code>&lt;path&gt;</code> with the id <code>path1</code>, but
new project using the id <code>path2</code>.</p>

<hr>
<p align="center">Copyright &copy; 2000-2005 The Apache Software Foundation. All rights
<p align="center">Copyright &copy; 2000-2006 The Apache Software Foundation. All rights
Reserved.</p>

</body>
</html>
</html>

Loading…
Cancel
Save