Adding an inpath

The AspectJ inpath setting enables weaving aspects in the project into one or more folder(s) or JAR file(s) on the inpath and writing the results to the normal output location.

To set the inpath:

  1. Select the AspectJ project in the Package Explorer
  2. Right click and select AspectJ Tools > Configure AspectJ Build Path...
  3. Select the Inpath tab
  4. Use the buttons on the right hand side to add class folders and/or JAR files to the inpath.
  5. Click OK to finish. If automatic building is switched on the project will rebuild.

Shortcuts are available by right clicking on a local JAR file, to add or remove that file from the project's inpath.

Related concepts
AspectJ projects
Aspects
AspectJ builder

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