Hey all,
I am using compile-time-weaving and OSGI. I cannot figure out why, but my
aspects don't work unless my annotation file is in the same project where my
join points are. Basically, I have gotten the aspect below to work if my aspect
is in one project, and my annotation and java code with join points are in
another. I'd like to move my annotation file into the same project as the one
with the aspect, but my aspects will stop working then :(
I am using aspect code like this:
after() : call(@CommitingFunction * *(..))
{
System.out.println("Commit clicked");
}
My annotation is simply just this:
@Retention(RetentionPolicy.RUNTIME)
public @interface CommitingFunction
{
}
This e-mail and any files transmitted with it may be proprietary and are
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this e-mail in error please notify the sender.
Please note that any views or opinions presented in this e-mail are solely
those of the author and do not necessarily represent those of ITT Corporation.
The recipient should check this e-mail and any attachments for the presence of
viruses. ITT accepts no liability for any damage caused by any virus
transmitted by this e-mail.
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users