This repository contains snipped for aspectj
Download from http://www.eclipse.org/aspectj/downloads.php and run for install
java -jar <path-to-downloaded-file>
Configure eclipse variable ASPECTJ_HOME to be used as VM Argument
Run >> Run Configurations ... >> Java Application >> Arguments >> VM Arguments >> Variables ... >> Edit variables ... >> New ...
Variable | Value |
---|---|
ASPECTJ_HOME | <installation-path> |
Add to VM Arguments:
-javaagent:${ASPECT_HOME}/lib/aspectjweaver.jar