From 1d59a6d0ea5d8657d1ef6eddcb9c843bd5102472 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Fri, 18 Feb 2005 13:32:19 +0000 Subject: [PATCH] Clarify docs, PR 33282 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277690 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/import.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/manual/CoreTasks/import.html b/docs/manual/CoreTasks/import.html index 560c8cd67..c92d9abd2 100644 --- a/docs/manual/CoreTasks/import.html +++ b/docs/manual/CoreTasks/import.html @@ -34,14 +34,14 @@ that are not possible with entity includes:

Target overriding

If a target in the main file is also present in at least one of the -imported files, it takes precedence.

+imported files, the one from the main file takes precedence.

So if I import for example a docsbuild.xml file named builddocs, that contains a "docs" target, I can redefine it in my main buildfile and that is the one that will be called. This makes it easy to keep the same target name, so that the overriding target is still called by any other targets--in either the main or imported buildfile(s)--for which -it is a dependency, with a different implementation. The original target is +it is a dependency, with a different implementation. The target from docsbuild.xml is made available by the name "builddocs.docs". This enables the new implementation to call the old target, thus enhancing it with tasks called before or after it.

@@ -148,7 +148,7 @@ directory.

Imports the project defined by the property deploy-platform


-

Copyright © 2003-2004 The Apache Software +

Copyright © 2003-2005 The Apache Software Foundation. All rights Reserved.