|AJDT Problem, don't want to generate weaved classes [message #522239]
||Sun, 21 March 2010 16:59
Registered: March 2010
Hello everyone, I'm posting on the forum because I'm really about to give up |
I have a (kinda) big project made of different sub projects. The whole project is Spring-based, and the two interesting projects are the Service layer and the project containing all my aspect (that advise ONLY classes in the service layer).
The weaving is managed at runtime by spring using jdk dynamic proxies, but i'm using @AspectJ annotations.
I decided to install AJDT in order to use the very useful "marker" feature and Xref view (so that I can navigate easily through my aspects, I have dozen of them).
But after installing AJDT, my classes get weaved at compile time, so when I launch my unit test for service layer within eclipse, it uses weaved classes, and test fail because the environment needed by the aspect is not set up (it is set up only when I launch integration test with aspects).
So my question is: is it possible to have marker and Xref features but have only vanilla java builder (ie, not weaved .class files?)
[Updated on: Sun, 21 March 2010 16:59]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02670 seconds