ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject cvs commit: ant/docs/manual using.html
Date Thu, 16 Dec 2004 16:24:57 GMT
mbenson     2004/12/16 08:24:57

  Modified:    docs/manual Tag: ANT_16_BRANCH using.html
  Log:
  Sync from HEAD
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.31.2.5  +14 -1     ant/docs/manual/using.html
  
  Index: using.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/using.html,v
  retrieving revision 1.31.2.4
  retrieving revision 1.31.2.5
  diff -u -r1.31.2.4 -r1.31.2.5
  --- using.html	16 Mar 2004 10:02:33 -0000	1.31.2.4
  +++ using.html	16 Dec 2004 16:24:57 -0000	1.31.2.5
  @@ -31,7 +31,12 @@
     <tr>
       <td valign="top">default</td>
       <td valign="top">the default target to use when no target is supplied.</td>
  -    <td align="center" valign="top"><!-- No.  No target will be run if omitted.-->
Yes.</td>
  +    <td align="center" valign="top">No; however, <b>since Ant 1.6.0</b>,
  +        every project includes an implicit target that contains any and
  +        all top-level tasks and/or types. This target will always be
  +        executed as part of the project's initialization, even when Ant is
  +        run with the <a href="running.html#options">-projecthelp</a> option.
  +    </td>
     </tr>
     <tr>
       <td valign="top">basedir</td>
  @@ -108,6 +113,14 @@
   </p>
   <p>If no <code>if</code> and no <code>unless</code> attribute
is present,
   the target will always be executed.</p>
  +
  +<p>
  +<b>Important:</b> the <code>if</code> and <code>unless</code>
attributes only 
  +enable or disable the target to which they are attached. They do not control
  +whether or not targets that a conditional target depends upon get executed. 
  +In fact, they do not even get evaluated until the target is about to be executed,
  +and all its predecessors have already run.
  +
   <p>The optional <code>description</code> attribute can be used to provide
a one-line description of this target, which is printed by the
   <nobr><code>-projecthelp</code></nobr> command-line option. Targets
   without such a description are deemed internal and will not be listed,
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message