Bug 12334 - REQUEST: Ant task doesn't allow attachment of a build listener
Summary: REQUEST: Ant task doesn't allow attachment of a build listener
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.7.0
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-05 15:11 UTC by Tom Halliley
Modified: 2008-11-24 03:57 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Halliley 2002-09-05 15:11:16 UTC
It would seem to make sense to allow a build listener to be attached to an Ant
task.  For example, I may wish to deal with build results differently in
sub-builds as opposed to the main build.

     
      <ant antfile="subproject/subbuild.xml" 
           dir="subproject" 
           target="compile"
           listener="org.apache.tools.ant.listener.Log4jListener"/>
This feature is not in Ant 1.5, as far as I can tell.