|inpath aspectpath and multiple projects [message #599118]
||Fri, 03 October 2008 13:41
| Jochen Wuttke
Registered: July 2009
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
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
What am I missing?
Powered by FUDForum
. Page generated in 0.01614 seconds