Converting the extensions for a project
To convert the file extensions for an AspectJ project:
- Right click on that project in the package explorer then select AspectJ Tools > Convert File Extensions....
- 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.
- 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
- Optionally select not to update build configurations by unchecking
Update all build configurations
- Click OK to perform the selected conversion.
Aspects
AspectJ editor
Converting the extensions for individual files