Skip to main content



      Home
Home » Language IDEs » AspectJ » AJDT Problem, don't want to generate weaved classes
AJDT Problem, don't want to generate weaved classes [message #600905] Sun, 21 March 2010 12:59 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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: Thu Jul 10 03:55:26 EDT 2025

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

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

Back to the top