AspectJ Setup and Usage at CCS
/proj/demsys/demjava/binto your PATH environment variable
.softwarefile then you have to append the above directory to your PATH variable in your shell's initialization file.
The following commands are now available on your shell
> ajc1.2 -version
The command should reply with the following:
AspectJ Compiler 1.2.1 built on Friday Nov 5, 2004 at 12:30:41 GMT
To run bytecode that you have compiled with ajc1.2 type
To run AspectJ 5 follow the steps above replacing ajc1.2 with ajc5 and aj1.2 with aj5.
For information on compiler options as well as AspectJ in general visit The AspectJ Web Page
If you want to be more adventurous, use AspectJ 1.5 which supports generics and annotations. This version is not stable yet.