Summary: | AspectJ crashing, when weaving IDT into another project in Eclipse | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Martin Benedict <martin> |
Component: | IDE | Assignee: | aspectj inbox <aspectj-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | critical | ||
Priority: | P3 | CC: | aclement |
Version: | 1.6.10 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Martin Benedict
2011-01-07 02:32:35 EST
The exception indicates you also have a declare annotation in the mix somewhere. Can you tell me what that looks like? is it in the bridge project or the Aut project? What you are trying to do is the valid way to do it, using inpath. Possibly your bridge project just needs the AddressBook project on the inpath whilst the Aut project only has to be on the aspectpath - but it depends what you want in the output folder of Bridge. if you want everything (all the AddressBook and Aut classes) then you need to put them both on the inpath. With just AddressBook on the inpath, the output folder for the bridge project will contain woven AddressBook classes and you'll need the Aut project on the classpath to run your code. If you mean the @DeclareAnnontation-Annotation, I didn't use it in my Projects. Currently I didn't use any AspectJ-Annotation. All my declares, pointcuts and advices are defined in .aj-Files. So I'm wondering about this. I use Annotations for Hibernate, but I don't think, that they conflict with AspectJ-Annotations. I have set the two Projects in the inpath, because they are two specific domains and the bridge connects them to an application. I've also tried to set the Aut-Project to the aspect-path, but the same problem occurs. Hope this additional Informations help. If you wish, i could send you a copy of my three projects. They are for university, so i think they are note classified. If you could send me the failing projects, that would really help! Use my gmail address, andrew.clement unsetting the target field which is currently set for something already released |