org.apache.tools.ant
Interface SubBuildListener
- BuildListener, EventListener
- AntClassLoader, AntClassLoader2, RecorderEntry
public interface SubBuildListener
Instances of classes that implement this interface can register
to be also notified when things happened during a subbuild.
A subbuild is a separate project instance created by the
<ant>
task family. These project instances will
never fire the buildStarted and buildFinished events, but they will
fire subBuildStarted/ and subBuildFinished. The main project
instance - the one created by running Ant in the first place - will
never invoke one of the methods of this interface.
- Ant 1.6.2
BuildEvent
, Project.addBuildListener(BuildListener)
subBuildFinished
public void subBuildFinished(BuildEvent event)
Signals that the last target has finished. This event
will still be fired if an error occurred during the build.
event
- An event with any relevant extra information.
Must not be null
.
BuildEvent.getException()
subBuildStarted
public void subBuildStarted(BuildEvent event)
Signals that a subbuild has started. This event
is fired before any targets have started.
event
- An event with any relevant extra information.
Must not be null
.
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.