[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [aspectj-users] Help in Eclipse + AspectJ using AJDT
|
Thanks Tomas for your message.
I have the import line. Without that I was geting the
warning as you said.
Now I do not see any warnings or errors on pointcut
definition that refers to the
class, but I see warning on the advice saying it is not
applied.
advice definer ... is not applied
[Xlint:adviceDidnotMatch].
I am not clear how to make Aspects in one project see
classes in
other projects.
thanks
Srini
I think your problem might be a missing import. Have a look at your
aspect source code and if you can see yellow underlinings: XLint: Invalid
absolute type name, just add the appropriate import. You have to do this
manually, automatic import does not work in ajdt.
Regards
Tomas
2007/7/23, Srinivas Palthepu <spalthepu@xxxxxxxxxxxxxx>:
Hi
I
am just started with AJDT in Eclipse. I created a sample toy
aspect and was
able to apply to test Java class in the same
directory. But when I tried to
apply to some other class
in a different project or directory It is not
able to
do that. My question is how do aspects and classes see
each other.
Does the aspects have to be in the same project as the
classes
they are applied to? I tried to add to the Aspect In path
the
directory from other project. But it did not help.
Also, I am
getting a runtime exception once in a while
with Eclipse 3.2 and AJDT
1.4.2.0705221209
Any help is
appreciated.
thanks
Srini
_______________________________________________
aspectj-users
mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
--
Tomas Kramar