Copyright © 2003 Eclipse.org. All Rights Reserved

Turning on Incremental Compilation

 

This isn’t as easy as it should be… you need to change settings in two places to switch a project into incremental compilation mode:

 

First open Window->Preferences->AspectJ and deselect “suppress automatic builds for AspectJ projects.” This option was enabled by default to prevent long delays due to non-incremental compilation occurring whenever you save a resource.

 

 

At this stage, a full-build will be kicked off every time you save a resource in the project. Open the properties for your project using the context menu in the Package Explorer. Select the AspectJ tab and then select “Use Incremental Compilation.”

 

 

Crosscutting structure information in the outline view is not preserved for an incremental build.  Use the normal AspectJ build button to kick off a full build when you need to see the relationship information. This restriction will be removed in a forthcoming release.