bodewig     2002/09/26 09:08:13

  Modified:    docs/manual/CoreTasks Tag: ANT_15_BRANCH ant.html
                        antcall.html
  Log:
  Tell the truth about inheritRefs.
  
  PR: 12820
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.14.2.4  +3 -0      jakarta-ant/docs/manual/CoreTasks/ant.html
  
  Index: ant.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/ant.html,v
  retrieving revision 1.14.2.3
  retrieving revision 1.14.2.4
  diff -u -r1.14.2.3 -r1.14.2.4
  --- ant.html  4 Sep 2002 11:21:12 -0000       1.14.2.3
  +++ ant.html  26 Sep 2002 16:08:11 -0000      1.14.2.4
  @@ -36,6 +36,9 @@
   nested elements will override existing references in the new
   project.</p>
   
  +<p>Inherited references are not available to top level tasks of the
  +child project.</p>
  +
   <h3>Parameters</h3>
   <table border="1" cellpadding="2" cellspacing="0">
     <tr>
  
  
  
  1.11.2.4  +15 -0     jakarta-ant/docs/manual/CoreTasks/antcall.html
  
  Index: antcall.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/antcall.html,v
  retrieving revision 1.11.2.3
  retrieving revision 1.11.2.4
  diff -u -r1.11.2.3 -r1.11.2.4
  --- antcall.html      4 Sep 2002 11:21:12 -0000       1.11.2.3
  +++ antcall.html      26 Sep 2002 16:08:12 -0000      1.11.2.4
  @@ -62,6 +62,21 @@
       <td align="center" valign="top">No</td>
     </tr>  
   </table>
  +
  +<h3>Note on <code>inheritRefs</code></h3>
  +
  +<p><code>&lt;antcall&gt;</code> will not override existing references,
  +even if you set <code>inheritRefs</code> to true.  As the called build
  +files is the same build file as the calling one, this means it will
  +not override any reference set via an <code>id</code> attribute at
  +all.  The only references that can be inherited by the child project
  +are those defined by nested <code>&lt;reference&gt;</code> elements or
  +references defined by tasks directly (not using the <code>id</code>
  +attribute).</p>
  +
  +<p>Inherited references are not available to top level tasks of the
  +child project.</p>
  +
   <h3>Parameters specified as nested elements</h3>
   <h4>param</h4>
   <p>Specifies the properties to set before running the specified target. See 
<a
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to