Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Library for spying what's going on in Ant build
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

Ant Spy

This library provides a convenient wrapper around Ant build event notification so that programs can inject themselves into Ant invocation and get notified of what targets/tasks are running with what parameters.

Users would invoke Ant with the -lib path/to/ant-spy.jar -listener AntSpyListener command line option. Note that ANT_ARGS environment variable is a convenient way to insert these arguments without polluting the command line.

Your program implements AntListener and put a META-INF/services entry for your class. This class also needs to be passed to Ant invocation by the -lib option. See a sample code in src/test/java for more details.

Something went wrong with that request. Please try again.