Copyright © 2004 Eclipse.org. All Rights Reserved

How to use the new Build Configurator

AJDTv1.1.11 (?)

Luzius Meisser, May 2004.

 

Introduction

 

This is the Guide for the new Build Configurator. The guide on how to use the old one can be found here and if you want to know more about how old and new build configurations are related, please consult the build configuration compatibility guide.

 

To use new style build configurations, make sure “use active build configuration” is ticked in the build pull-down-menu. This makes the AJ builder take into account new style build configurations.

 

 

The features of the new Build Configurator

 

Let’s have a look at the package explorer:

Thanks to smart icons you can always see which files are currently included and which ones excluded.

 

To include or exclude additional files, just select them and choose the according action in the context menu:

If “Build automatically” in the workbench preferences is ticked, the project gets automatically rebuilt after doing so.

 

To select a different build configuration open the project menu:

 

To add a new build configuration, simply select “Add…” in this menu and a dialog will pop up asking you for the name of the new build configuration:

 

For more sophisticated build configuration editing, open the “Java Build Path” property page:

Here you get an overview over all the build configurations of the currently selected AspectJ project and the following functionality:

 

Add Configuration: adds a new build configuration with a given name.

Add Folder: adds a new source folder to the given build configuration (no nested folders allowed).

Add Filter: adds an exclusion to the selected folder.

Edit: edits the selected entry.

Remove: removes the selected entries.

Set Active: sets the selected build configuration to be the active one.

Import/Export .lst: imports or exports a .lst file. This is explained in detail in the build configuration compatibility guide.