|How to apply an aspect to several plug-ins ? [message #1151723]
||Wed, 23 October 2013 14:57
| Georges Bachelier
Registered: May 2010
Hi Everybody !|
I want to use AspectJ with an Eclipse RCP application made of several plug-ins.
I have found different methods on the Web, but no one succeeded.
I am using Eclipse 3.7.2 and ApspectJ Development Tools 2.2.0 / AspectJ 1.7.0
The aspect purpose is to add tracing functionality to the application, showing when we enter and exit a function; it works fine on a plug-in when I insert my .aj file into this plug-in. The Aspect Visualization Perspective views show relationships between the aspect and the Java code (what a nice functionality !) and makes code navigation easy. During execution, I get trace information in the Console view.
Now I want to isolate the aspects plug-in from the other ones. Let's say that P1, P2 and P3 plug-ins make up my RCP application and AJ is my AspectJ plug-in. What should I do to trace execution of P1, P2, and P3 with aspects from AJ ?
Thanks a lot in advance for your time !
Powered by FUDForum
. Page generated in 0.02137 seconds