Copyright © 2004 Eclipse.org. All Rights Reserved

# Controlling AspectJ project properties and compiler settings

To access the project properties for an AspectJ project select the project in the Package Explorer, and then select "Properties" from the context menu. AJDT honours the Java Compiler settings – these can be configured at a workspace and at a project level: select the "Use project settings" option to tailor the settings for an individual project.

Selecting "AspectJ Compiler" allows you to modify the settings of the AspectJ compiler for an individual project.

Select the "AspectJ" option for AspectJ settings. Output jar is the name of a jar file into which the results of the compilation will be placed (if this option is left blank, the class files are written in the normal project output directory).

In addition the "AspectJ Aspect Path" page can be used to specify input jars that are binary aspect libraries to be used in the compilation.

The "AspectJ InPath" page can be used to specify input jars or folders into which AspectJ is to weave aspects. See the AspectJ project documentation for more details on these settings.

Of course, all the normal Java Build Path options for adding jars etc. to the classpath are also available from the "Java Build Path" page.

Further AspectJ compiler preferences can be set by selecting "Window" and then "Preferences" and navigating to the "Compiler" page in the "AspectJ" section.