
Read Making AspectJ development easier with AJDT
The article shows how the AspectJ editor provides sophisticated functionality to aid the development of aspects, and how the markers and Cross References view show detailed information and support navigation of the crosscutting structure of your application. Incremental compilation improves the efficiency of the development process and the Eclipse Java debugger can still be used as the AspectJ compiler produces regular bytecodes (to set breakpoints in around advice you need to turn off inlining in the AspectJ compiler settings).
AJDT also offers more advanced capabilities beyond the scope of this article including a launch configuration for load-time weaving, an aspect visualization perspective, a crosscutting comparison tool, support for developing and using aspect libraries, and functionality relating to the development of AspectJ-enabled Eclipse plug-ins.
Please visit the AJDT site to find out more,including demos, new features, downloads, and details about the AJDT newsgroup if you have any questions. AJDT is an open source Eclipse.org tools project and is released under the terms of the EPL. See also InfoQ.com/aop
Community comments
aspect eclipse
by Joost de Vries,
Re: aspect eclipse
by Alef Arendsen,
Re: aspect eclipse
by Joost de Vries,
Debugging advices
by yash aaloda,
aspect eclipse
by Joost de Vries,
Your message is awaiting moderation. Thank you for participating in the discussion.
My pet peeve about ajdt is that it doesn't work well (last time I looked) with multi-project software. You have to mount the sourcetree of all your other eclipse projects in your aspect project; thus essentially having to duplicate your build process.
I'd like to define a separate aspect eclipse project that enhances other eclipse projects in situ. Imo that would be aspect-oriented support in Eclipse.
Re: aspect eclipse
by Alef Arendsen,
Your message is awaiting moderation. Thank you for participating in the discussion.
Joost,
you can also link in your AspectJ project in the other projects you want to apply your aspects to. Use the linked source folder approach to link in the aspect project into the normal project.
cheers,
Alef
Re: aspect eclipse
by Joost de Vries,
Your message is awaiting moderation. Thank you for participating in the discussion.
Ok, that would be great. Thanks.
Debugging advices
by yash aaloda,
Your message is awaiting moderation. Thank you for participating in the discussion.
Can anybody elaborate on debugging advices? I was able to debug before & after advices but not around. As indicated by many of sites, by switching inlining to off you should be able to do so. But it didn't happen for me.