Browse Source

You can't override the command-line, PR 16836

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275348 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 21 years ago
parent
commit
8be42b1f4d
2 changed files with 16 additions and 10 deletions
  1. +11
    -7
      docs/manual/CoreTasks/ant.html
  2. +5
    -3
      docs/manual/CoreTasks/antcall.html

+ 11
- 7
docs/manual/CoreTasks/ant.html View File

@@ -20,15 +20,19 @@ in the supplied directory (<i>dir</i> attribute) is used.</p>
<p>If no target attribute is supplied, the default target of the new project is
used.</p>
<p>By default, all of the properties of the current project will be
available in the new project. Alternatively, you can
set the <i>inheritAll</i> attribute to <code>false</code> and only
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
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 property tags. These properties are always passed regardless of the
setting of <i>inheritAll</i>. This allows you to parameterize your subprojects.</p>
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 property tags. These properties are always passed
regardless of the setting of <i>inheritAll</i>. This allows you to
parameterize your subprojects. Properties defined on the command line
can not be overridden by nested &lt;property&gt; elements.</p>

<p>References to data types can also be passed to the new project, but
by default they are not. If you set the inheritrefs attribute to


+ 5
- 3
docs/manual/CoreTasks/antcall.html View File

@@ -21,9 +21,11 @@ set the <i>inheritAll</i> attribute to <code>false</code> and only
will be passed to the new project. In either case, the set of
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 regardless of the
setting of <i>inheritAll</i>. This allows you to parameterize your subprojects.</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
regardless of the setting of <i>inheritAll</i>. This allows you to
parameterize your subprojects. Properties defined on the command line
can not be overridden by nested &lt;param&gt; elements.</p>

<p>Nested <a href="#reference"><i>&lt;reference&gt;</i></a> elements can
be used to copy references from the calling project to the new


Loading…
Cancel
Save