Adding an aspectpath

The AspectJ aspectpath setting enables weaving aspects from the aspectpath into in the project and outputting the results to the normal output location.

To set the aspectpath:

  1. Right click on the project, then select Properties.
  2. Select AspectJ Aspectpath in the left hand column.
  3. Select the Libraries and Folders tab.
  4. Use the buttons on the right hand side to add class folders and/or JAR files to the aspectpath.
  5. Click OK to finish. If automatic building is switched on the project will rebuild.

Note: The aspectpath can be used in conjunction with other AspectJ compiler settings such as the inpath and outjar

Related concepts
AspectJ projects
Aspects
AspectJ builder

Related tasks
Adding an outjar
Adding an inpath
Changing compiler settings
Using a multi-project setup