Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » AJDT Problem, don't want to generate weaved classes
AJDT Problem, don't want to generate weaved classes [message #600905] Sun, 21 March 2010 16:59 Go to next message
Corrado  is currently offline Corrado Friend
Messages: 2
Registered: March 2010
Junior Member
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 21:58 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
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).
Previous Topic:AJDT Problem, don't want to generate weaved classes
Next Topic:Using AspectJ 1.6.8 with AJDT?
Goto Forum:

Current Time: Sat Feb 24 06:33:13 GMT 2018

Powered by FUDForum. Page generated in 0.02030 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software