Converting the extensions for a project

To convert the file extensions for an AspectJ project:

  1. Right click on that project in the package explorer then select AspectJ Tools > Convert File Extensions....
  2. The recommended configuration is the default, Convert all source files containing aspects to .aj files and the rest to .java files. Optionally switch to Convert all source files to .aj files or Convert all source files to .java files. Note that the default option will rename files that contain inner aspects to .aj files.
  3. Optionally select not to rename files that are not included in the active build configurations by unchecking Include source files that are not included in the active build configuration
  4. Optionally select not to update build configurations by unchecking Update all build configurations
  5. Click OK to perform the selected conversion.

Related concepts

Aspects
AspectJ editor

Related tasks

Converting the extensions for individual files