Bug 12334

Summary: REQUEST: Ant task doesn't allow attachment of a build listener
Product: Ant Reporter: Tom Halliley <tom_halliley>
Component: Core tasksAssignee: Ant Notifications List <notifications>
Status: NEW ---    
Severity: enhancement    
Priority: P3    
Version: 1.7.0   
Target Milestone: ---   
Hardware: All   
OS: All   

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.