For anybody interested in trying out AspectJ on Netbeans, it is really easy to setup and run
Go to
http://aspectj4netbean.sourceforge.net and donwloaded the latest ZIP file ApsectJForNetbeans-1.1.rc2.zip
Extract the file to a folder.
There is a documents with installation instruction, but it is a bit outdated.
The installation is actually easier than described.
Copy modules/ajdeForNetbeans.jar to $NETBEANS_HOME/modules
Copy lib/ext/* to $NETBEANS_HOME/lib/ext/*
Restart Netbeans
IDE and you are done !
Now you can click on the AJDE button to start AspectJ.
From now on use ONLY the AspectJ build, not the
Java compile !
That's it.
Do not get upset by the syntax checker in the source editor as does not know yet that AspectJ exists
Just ignore it or even better switch the syntax checker off.
Just try a logging aspect or run the SpaceWar example mentioned in the documentation.
Good luck