FileDocCategorySizeDatePackage
SubBuildListener.javaAPI DocApache Ant 1.702189Wed Dec 13 06:16:22 GMT 2006org.apache.tools.ant

SubBuildListener

public interface SubBuildListener implements BuildListener
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.

see
BuildEvent
see
Project#addBuildListener(BuildListener)
since
Ant 1.6.2

Fields Summary
Constructors Summary
Methods Summary
public voidsubBuildFinished(BuildEvent event)
Signals that the last target has finished. This event will still be fired if an error occurred during the build.

param
event An event with any relevant extra information. Must not be null.
see
BuildEvent#getException()

public voidsubBuildStarted(BuildEvent event)
Signals that a subbuild has started. This event is fired before any targets have started.

param
event An event with any relevant extra information. Must not be null.