From cde70b0faf37b85f91e047dc0648d81851f2cfbe Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Fri, 25 Jun 2004 07:59:46 +0000 Subject: [PATCH] Document SubBuildListener git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276640 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/develop.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/manual/develop.html b/docs/manual/develop.html index 7439ad2d9..2eca8440b 100644 --- a/docs/manual/develop.html +++ b/docs/manual/develop.html @@ -434,6 +434,22 @@ for the following events

  • Message logged
  • +

    If the build file invokes another build file via <ant> or <subant> or uses <antcall>, 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

    + +

    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).

    +

    If you wish to attach a listener from the command line you may use the -listener option. For example: