After adding annotations you need to run a special AspectWerkz tool. This is done after compiling your aspect class files, (i.e. after running
javac). The tool, known as the
AnnotationC compiler, can be invoked as follows, passing in the source directory (
.), and the class directory (
java -cp $ASPECTWERKZ_HOME/lib/aspectwerkz-1.0.jar org.codehaus.aspectwerkz.annotation.AnnotationC . target
More information on the
AnnotationC compiler can be found here.