diff --git a/manual/Tasks/import.html b/manual/Tasks/import.html index 8a3f982ac..0cc271e22 100644 --- a/manual/Tasks/import.html +++ b/manual/Tasks/import.html @@ -52,14 +52,14 @@
If a target in the main file is also present in at least one of the 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 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.
So if I import for example a docsbuild.xml file containing a project
+ named builddocs
that contains a docs
target, I can define a docs
target 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 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.
If you use the as attribute of the task, its value will be used to prefix the
overridden target's name instead of the name attribute of the project