From 1d59a6d0ea5d8657d1ef6eddcb9c843bd5102472 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig If a target in the main file is also present in at least one of the
-imported files, it takes precedence.Target overriding
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.