From 59309ba22468da7f23aa62eb273484bb0c3f6f28 Mon Sep 17 00:00:00 2001 From: Jan Materne Date: Tue, 14 Feb 2006 15:30:28 +0000 Subject: [PATCH] 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 --- docs/manual/CoreTasks/ant.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/manual/CoreTasks/ant.html b/docs/manual/CoreTasks/ant.html index b914afc25..1edcd4949 100644 --- a/docs/manual/CoreTasks/ant.html +++ b/docs/manual/CoreTasks/ant.html @@ -199,8 +199,7 @@ details:

Examples

-<ant antfile="subproject/subbuild.xml"
-     dir="subproject" target="compile"/>
+<ant antfile="subproject/subbuild.xml" target="compile"/>
 
 <ant dir="subproject"/>
 
@@ -213,6 +212,14 @@ details:

<property name="output.type" value="html"/> </ant>
+ +

These lines invoke the same build file:

+
+<ant antfile="sub1/sub2/build.xml" />
+<ant antfile="sub2/build.xml" dir="sub1" />
+<ant antfile="build.xml" dir="sub1/sub2" />
+
+

The build file of the calling project defines some <path> elements like this:

@@ -269,8 +276,8 @@ a <path> with the id path1, but new project using the id path2.


-

Copyright © 2000-2005 The Apache Software Foundation. All rights +

Copyright © 2000-2006 The Apache Software Foundation. All rights Reserved.

- + \ No newline at end of file