Hi Alexander,
I got a reply from Andy off-list; looks like an issue with ITD and
generic types (ITD not being done on raw type). I'm sure Andy will be
more precise; also, he has provided me with a snapshot build of aspectj
that builds zvtm-cluster just fine.
Thanks a lot to you both for the debugging and help!
Romain
Le 11/04/2015 14:31, Alexander Kriegisch a écrit :
Hi Andy.
I have looked into this a little more and noticed that the build within Eclipse
Luna with AJDT works nicely, but fails with AspectJ Maven Plugin and on the
command line via ajc.bat. So this might be a clue what it going wrong if you
can answer one question: What does ADJT differently in comparison to Ajc with
regards to build order or other relevant factors?
I have also noticed that if I remove the three Aspect files
- GlyphCreation.aj
- GlyphReplication.aj
- VirtualSpaceReplication.aj
from zvtm-cluster, the module compiles fine. This is because these aspects rely
on ObjIdIntroduction.aj being woven first as they expect the introduced methods
to be present in the target classes from module zvtm-core.
I also tried to replicate a minimal sample with a Java project and an AspectJ
project having the Java project on its inpath. The AspectJ project has three
aspects which rely on each other's methods being present. It does not show any
errors during compilation from either Eclipse or command line though. So
probably you need to analyse the real project. To me it definitely looks like a
bug.
Regards
_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users