AspectJ Setup and Usage at CCS
/proj/demsys/demjava/packages/aspectj1.0.6/bin
to your PATH environment
variable .software
file.
/proj/demsys/demjava/packages/aspectj1.0.6/bin
.software
file then you have
to append the above directory to your PATH variable in your shell's
initialization file.
/proj/demsys/demjava/packages/aspectj1.0.6/lib/aspectjrt.jar
to your
CLASSPATH environment variable. .software
file.
/proj/demsys/demjava/packages/aspectj1.0.6/lib/aspectjrt.jar
.software
file then you have
to append the above directory to your CLASSPATH variable in your shell's
initialization file.
ajc -version
To compile a bunch of Java files use
ajc *.java
To find out about how AspectJ compiles the code, use
ajc -preprocess *.java
and inspect the ajworkingdir
directory.
For information on compiler options as well as AspectJ in general visit The AspectJ Web Page