You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jh...@apache.org on 2006/02/14 16:30:31 UTC
svn commit: r377744 - /ant/core/trunk/docs/manual/CoreTasks/ant.html
Author: jhm
Date: Tue Feb 14 07:30:28 2006
New Revision: 377744
URL: http://svn.apache.org/viewcvs?rev=377744&view=rev
Log:
Fix the example regarding dir-attribute and add an additional example for that.
Modified:
ant/core/trunk/docs/manual/CoreTasks/ant.html
Modified: ant/core/trunk/docs/manual/CoreTasks/ant.html
URL: http://svn.apache.org/viewcvs/ant/core/trunk/docs/manual/CoreTasks/ant.html?rev=377744&r1=377743&r2=377744&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/CoreTasks/ant.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/ant.html Tue Feb 14 07:30:28 2006
@@ -199,8 +199,7 @@
<h3>Examples</h3>
<blockquote><pre>
-<ant antfile="subproject/subbuild.xml"
- dir="subproject" target="compile"/>
+<ant antfile="subproject/subbuild.xml" target="compile"/>
<ant dir="subproject"/>
@@ -213,6 +212,14 @@
<property name="output.type" value="html"/>
</ant>
</pre></blockquote>
+
+<p>These lines invoke the same build file:</p>
+<blockquote><pre>
+<ant antfile="sub1/sub2/build.xml" />
+<ant antfile="sub2/build.xml" dir="sub1" />
+<ant antfile="build.xml" dir="sub1/sub2" />
+</pre></blockquote>
+
<p>The build file of the calling project defines some
<code><path></code> elements like this:</p>
@@ -269,8 +276,8 @@
new project using the id <code>path2</code>.</p>
<hr>
-<p align="center">Copyright © 2000-2005 The Apache Software Foundation. All rights
+<p align="center">Copyright © 2000-2006 The Apache Software Foundation. All rights
Reserved.</p>
</body>
-</html>
+</html>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org