AJDT Problem, don't want to generate weaved classes [message #600905] |
Sun, 21 March 2010 12:59  |
Eclipse User |
|
|
|
Hello everyone, I'm posting on the forum since I'm really about to give up :p
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?)
Thank you!
|
|
|
Re: AJDT Problem, don't want to generate weaved classes [message #600918 is a reply to message #600905] |
Sun, 21 March 2010 17:58  |
Eclipse User |
|
|
|
This is not possible using AJDT. This is because the markers and xrefs are created from a model provided by the compiler.
However, STS (SpringSource Tool Suite) does provide this feature for working with spring projects. So, I'd recommend downloading STS (2.3.1 is the latest version).
|
|
|
Powered by
FUDForum. Page generated in 0.28997 seconds