This example uses JDK 5 annotations. To execute the ant file that comes with the example you need to be set up to use JDK 5, since the annotations will only compile with JDK 5 or above
The two main targets for running with JDK 5 are
$ ant run.aopc.50 $ ant run.loadtime.50
The ant.run.aopc.50 target uses compile-time weaving, and performs the following steps:
The ant.loadtime.aopc.50 target uses load-time weaving (the classes are transformed when first loaded) and performs the following steps: