Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » inpath aspectpath and multiple projects
inpath aspectpath and multiple projects [message #599118] Fri, 03 October 2008 13:41
Jochen Wuttke is currently offline Jochen WuttkeFriend
Messages: 41
Registered: July 2009
Member
Hi,

I'm trying to get an AspectJ project that only contains aspects and
supporting classes to work together with (i.e. advise) the classes
created in another project. From the documentation it looks like it
should be possible to achieve this somehow via inpath/aspectpath, but I
can't get it to work. I guess I'm missing something fundamental here.

The steps I took:

1. Created an AspectJ project "A" to create my aspects (tested the
pointcuts with a local class and they were fine)

2. Created a Java project "J" that contains the classes that should be
advised.

3.a.) Added "J" to the inpath of "A". (That had no effect on the test
runs of J)

3.b.) Added "A" to the aspectpath of "J". (That had no effect on the
test runs of J).

3.c.) Copied all .class files generated by "A" into the output folder of
"A". That had no effect.

3.d.) Converted "J" to an AspectJ project and did the same as above. No
effect.


What am I missing?

Jochen
Previous Topic:aspectj source/trunk
Next Topic:Error when running the aspectj book examples
Goto Forum:
  


Current Time: Tue Sep 24 08:50:05 GMT 2024

Powered by FUDForum. Page generated in 0.03293 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top