Copyright © 2005 Eclipse.org. All Rights Reserved

# Getting Started with AJDT

AJDTv1.2.0 M3

This document describes how to get started with the AspectJ Development Tools in Eclipse. AJDT provides a rich set of features for working with AspectJ programs inside Eclipse.

Go straight to the instructions…

### AJDT Highlights:

- Editor support with keyword highlighting, AspectJ code templates and many of the Java Editor's advanced features.

- Outline view support, which shows structural members of aspects and decorates advised members with an orange arrow.

- Cross References view that shows relationships to and from the selected member. Double clicking on one of the endpoints opens the relevant source in the editor.

- New AspectJ Project wizard, plus the ability to convert any existing Java or PDE project to work with AspectJ

- New Aspect wizard

- Simple AspectJ cheat sheet to help you get started

- Support for multiple build configurations within a project

- Context menu actions for easy inclusion and exclusion of source files and/or packages from build configurations

- Support for aspect libraries and binary weaving

- New option to show weaving messages in the problems view. Check the "Output weaving info messages.." option on the AspectJ project properties page to switch on.

- Powerful Visualiser that shows the crosscutting impact of your aspects

- Debugging support – step into and through advice and set breakpoints in aspects.

- Integrated, searchable help for AspectJ

- Includes the AspectJ 1.5.0 M2 compiler

### Instructions for use:

- Installation (& update)
- Creating an AspectJ project
- Adding a class
- Adding an aspect plus navigating crosscutting relationships – the outline view and gutter annotations
- Running an AspectJ program
- Build configurations
- Controlling AspectJ project properties and compiler settings
- Debugging
- Using the Visualiser
- Turning on incremental compilation
- Common problems