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 #522239] Sun, 21 March 2010 16:59 Go to next message
Corrado  is currently offline Corrado
Messages: 2
Registered: March 2010
Junior Member
Hello everyone, I'm posting on the forum because I'm really about to give up Razz

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!

[Updated on: Sun, 21 March 2010 16:59]

Report message to a moderator

Re: AJDT Problem, don't want to generate weaved classes [message #522264 is a reply to message #522239] Sun, 21 March 2010 21:58 Go to previous message
Andrew Eisenberg is currently offline Andrew Eisenberg
Messages: 368
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:Using AspectJ 1.6.8 with AJDT?
Next Topic:AJDT Problem, don't want to generate weaved classes
Goto Forum:
  


Current Time: Fri Sep 19 09:52:26 GMT 2014

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

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