Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Need some emergency Help with AspectJ PLEASE !!!

Mack,

From the word "project" I assume you are working in Eclipse with AJDT. You
best approach is to create a separate project to contain your aspect(s) and
use symbolic links between them. The aspect(s) can then be shared between
all the other projects. Next you have 2 choices:
1. Keep your 3 existing projects as pure Java and link their source folders
into the aspects project. When you build it all class will be built & woven
into that project. You will then need to run your programs form there.
2. Turn each of you existing Java projects into AspectJ projects and link
the source folder from the aspects project into each. You then build each
separately with the same version of the aspect.

Creating symbolic links:
1. Open "Project Properties"
2. Select "Java Build Path"
3. Select "Source"
4. Click "Add Folder"
5. Click "Create New Folder ..."
6. Click "Advanced"
7. Check "Link to folder in filesystem"

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/



Back to the top