ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/docs/manual develop.html
Date Fri, 25 Jun 2004 07:59:46 GMT
bodewig     2004/06/25 00:59:46

  Modified:    docs/manual develop.html
  Log:
  Document SubBuildListener
  
  Revision  Changes    Path
  1.18      +16 -0     ant/docs/manual/develop.html
  
  Index: develop.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/develop.html,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- develop.html	23 Jun 2004 06:35:56 -0000	1.17
  +++ develop.html	25 Jun 2004 07:59:46 -0000	1.18
  @@ -434,6 +434,22 @@
   <li>Message logged</li>
   </ul>
   
  +<p>If the build file invokes another build file via <a
  +href="CoreTasks/ant.html">&lt;ant&gt;</a> or <a
  +href="CoreTasks/subant.html">&lt;subant&gt;</a> or uses <a
  +href="CoreTasks/antcall.html">&lt;antcall&gt;</a>, you are creating a
  +new Ant "project" that will send target and task level events of its
  +own but never sends build started/finished events.  Ant 1.6.2
  +introduces an extension of the BuildListener interface named
  +SubBuildListener that will receive two new events for</p>
  +<ul>
  +<li>SubBuild started</li>
  +<li>SubBuild finished</li>
  +</ul>
  +<p>If you are interested in those events, all you need to do is to
  +implement the new interface instead of BuildListener (and register the
  +listener, of course).</p>
  +
   <p>
   If you wish to attach a listener from the command line you may use the
   <code>-listener</code> option. For example:</p>
  
  
  

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


Mime
View raw message