A standard project dependency is only used to resolve types. You need to
use aspectpath.  For project B add an aspectpath dependency on A, this will
ensure that when B is compiled the AspectJ compiler will look for aspects
in A and apply them to B.

cheers,
Andy


On 1 January 2014 19:43, samantha joseph <samanthajosep...@gmail.com> wrote:

> Hey...
>
> I have defined an aspect in one project, say A. I want to apply this
> aspect to another project, say B's classes.
> I have added B in build path of A. But the advices are not applied. Why
> this is happening.?? How to resolve it.
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to