Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Abstract and Concrete Aspects

Hello everyone!

I would like to know if anyone can help me with this problem I have
regarding AspectJava:

I have an abstract aspect A with an abstract pointcut P, in one file.
Then I have a class C with a static aspect B that extends A and has a
concrete pointcut P, in another file.

This "configuration" works if I put these 2 files together in the same
directory.
But, when I try to put them in separate directories, for example in separate
packages:
 - abstract stuff goes to package "aspects"
 - class and concrete stuff goes to package "classes"

Then I get the following error on both files:
"Error inherited abstract pointcut aspects.A.P() is not made concrete in
classes.C$B"

Any solutions? BTW, I'm using eclipse.

Thanks in advance,

--
António Lopes



Back to the top