Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » cross-project aspects?
cross-project aspects? [message #592369] Tue, 28 February 2006 02:30
Eclipse User
Originally posted by: yoduderoo.netscape.net

Hi,
Should it be possible to define an Aspect in one project which weaves
into code from another?

For example, I create an AspectJ project A. I convert an existing Java
project, B, by right-clicking the Java project and performing relevant
action. I create an aspect, TestAspect, in project A which defines a
pointcut on a Java source in B. It compiles, but there are no markers.
If I move the source from B into aspect project A, the markers appear.

Can I have a separate project with my aspects which weave into other
projects?

Versions:
AJDT 1.2.1, Build 20051220151004, AspectJ version: 1.5.0
IBM RSA 6.0 (Eclipse 3.0)
JRE 1.4.2

Thanks, y
Previous Topic:generate aspectj code
Next Topic:AJDT New Feature of the Week: Additional Crosscutting Comparison functionality
Goto Forum:
  


Current Time: Sun Apr 20 23:05:15 EDT 2014

Powered by FUDForum. Page generated in 0.02447 seconds