Table of Contents
AspectJ contains a compiler, ajc, that can be run from Ant. Included in the aspectjtools.jar are Ant binaries to support three ways of running the compiler:
AjcTask (iajc), a task to run the AspectJ post-1.1 compiler, which supports all the eclipse and ajc options, including incremental mode.
Ajc11CompilerAdapter (javac), an adapter class to run the new compiler using Javac tasks by setting the build.compiler property
Ajc10 (ajc), a task to run build scripts compatible with the AspectJ 1.0 tasks
This describes how to install and use the tasks and the adapter. For an example Ant script, see examples/build.xml.