ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r377744 - /ant/core/trunk/docs/manual/CoreTasks/ant.html
Date Tue, 14 Feb 2006 15:30:31 GMT
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>
-&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 @@
   &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 @@
 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>
\ 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


Mime
View raw message