[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[aspectj-users] Abstract Aspect
|
Hi everyone,
I've got a question regarding abstract aspects.
I have an abstract logging aspect in a jar file called logging.jar. This
AbstractLoggingAspect logs all entries/exit of all methods defined in the
abstract pointcut allClass()
So i tried using this abstract aspect in a separate project. I put the
logging.jar in the classpath. and made an aspect TestLogging extending the
AbstractLoggingAspect. It doesn't seem it's working correctly. None of the
pointcuts get picked up. So i tried copy the AbstractLoggingAspect.java to
this project, and compiled again. It works perfectly.
So my question is, is there anyway to separate the abstract aspect in a jar
file and still have the project compiles correctly?
Thanks
Mason
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus