bodewig 2005/02/18 05:32:19 Modified: docs/manual/CoreTasks import.html Log: Clarify docs, PR 33282 Revision Changes Path 1.18 +3 -3 ant/docs/manual/CoreTasks/import.html Index: import.html =================================================================== RCS file: /home/cvs/ant/docs/manual/CoreTasks/import.html,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- import.html 19 Nov 2004 09:07:09 -0000 1.17 +++ import.html 18 Feb 2005 13:32:19 -0000 1.18 @@ -34,14 +34,14 @@ <h4>Target overriding</h4> <p>If a target in the main file is also present in at least one of the -imported files, it takes precedence.</p> +imported files, the one from the main file takes precedence.</p> <p>So if I import for example a <i>docsbuild.xml</i> file named <b>builddocs</b>, that contains a "<b>docs</b>" 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 <i>docsbuild.xml</i> is made available by the name "<b>builddocs</b><b>.docs</b>". This enables the new implementation to call the old target, thus <i>enhancing</i> it with tasks called before or after it.</p> @@ -148,7 +148,7 @@ <p>Imports the project defined by the property deploy-platform</p> <hr> -<p align="center">Copyright © 2003-2004 The Apache Software +<p align="center">Copyright © 2003-2005 The Apache Software Foundation. All rights Reserved.</p> </body>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]