Browse Source

Typo. Thanks to Yuji Yamano

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275794 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 21 years ago
parent
commit
35635fee1e
2 changed files with 13 additions and 15 deletions
  1. +5
    -6
      docs/manual/CoreTasks/ant.html
  2. +8
    -9
      docs/manual/CoreTasks/antcall.html

+ 5
- 6
docs/manual/CoreTasks/ant.html View File

@@ -11,7 +11,7 @@
<h3>Description</h3>

<p>Runs Ant on a supplied buildfile. This can be used to build
subprojects. <strong>This task must no be used outside of a
subprojects. <strong>This task must not be used outside of a
<code>target</code> if it invoces the same build file it is part
of.</strong></p>

@@ -63,7 +63,7 @@ inside of targets.</p>
</tr>
<tr>
<td valign="top">dir</td>
<td valign="top">the directory to use as a basedir for the new Ant project.
<td valign="top">the directory to use as a basedir for the new Ant project.
Defaults to the current project's basedir, unless
inheritall has been set to false, in which case it doesn't
have a default value. This will override the basedir
@@ -85,13 +85,13 @@ inside of targets.</p>
<td align="center" valign="top">No</td>
</tr>
<tr>
<td valign="top">inheritAll</td>
<td valign="top">inheritAll</td>
<td valign="top">If <code>true</code>, pass all properties to the
new Ant project. Defaults to <code>true</code>.</td>
<td align="center" valign="top">No</td>
</tr>
<tr>
<td valign="top">inheritRefs</td>
<td valign="top">inheritRefs</td>
<td valign="top">If <code>true</code>, pass all references to the
new Ant project. Defaults to <code>false</code>.</td>
<td align="center" valign="top">No</td>
@@ -106,7 +106,7 @@ task</a>. Note that the <code>refid</code> attribute points to a
reference in the calling project, not in the new one.</p>

<h4><a name="reference">reference</a></h4>
<p>Used to chose references that shall be copied into the new project,
<p>Used to choose references that shall be copied into the new project,
optionally changing their id.</p>

<table border="1" cellpadding="2" cellspacing="0">
@@ -248,4 +248,3 @@ Reserved.</p>

</body>
</html>


+ 8
- 9
docs/manual/CoreTasks/antcall.html View File

@@ -19,7 +19,7 @@ available in the new project. Alternatively, you can
set the <i>inheritAll</i> attribute to <code>false</code> and only
&quot;user&quot; properties (i.e., those passed on the command-line)
will be passed to the new project. In either case, the set of
properties passed to the new project will override the properties that
properties passed to the new project will override the properties that
are set in the new project (See also the <a href="property.html">property task</a>).</p>
<p>You can also set properties in the new project from the old project
by using nested param tags. These properties are always passed
@@ -38,10 +38,10 @@ inside of targets.</p>
<p>
When a target is invoked by antcall, all of its dependent targets will
also be called within the context of any new parameters. For example. if
the target &quot;doSomethingElse&quot; depended on the target &quot;init&quot;, then the
<i>antcall</i> of &quot;doSomethingElse&quot; will call &quot;init&quot; during the call.
Of course, any properties defined in the antcall task or inherited from the calling target
will be fixed and not overridable in the init task -or indeed in the &quot;doSomethingElse&quot; task.
the target &quot;doSomethingElse&quot; depended on the target &quot;init&quot;, then the
<i>antcall</i> of &quot;doSomethingElse&quot; will call &quot;init&quot; during the call.
Of course, any properties defined in the antcall task or inherited from the calling target
will be fixed and not overridable in the init task -or indeed in the &quot;doSomethingElse&quot; task.
</p>

<p>If the build file changes after you've started the build, the
@@ -67,11 +67,11 @@ behavior of this task is undefined.</p>
<td align="center" valign="top">No</td>
</tr>
<tr>
<td valign="top">inheritRefs</td>
<td valign="top">inheritRefs</td>
<td valign="top">If <code>true</code>, pass all references to the
new Ant project. Defaults to <code>false</code>.</td>
<td align="center" valign="top">No</td>
</tr>
</tr>
</table>

<h3>Note on <code>inheritRefs</code></h3>
@@ -91,7 +91,7 @@ attribute).</p>
href="property.html">property</a> for usage guidelines.</p>

<h4><a name="reference">reference</a></h4>
<p>Used to chose references that shall be copied into the new project,
<p>Used to choose references that shall be copied into the new project,
optionally changing their id.</p>

<table border="1" cellpadding="2" cellspacing="0">
@@ -148,4 +148,3 @@ Reserved.</p>

</body>
</html>


Loading…
Cancel
Save