Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] AspectJ in a netbeans RCP project

Hi,

I have been following the instructions at
http://xentient.com/journal/2009/6/16/using-aspectj-with-netbeans.html
to get AspectJ working with my Netbeans RCP based application. 

I only want to use one relatively simple aspect to test if stuff is
happening inside the EDT, because I know much of the code isn't. Hence I
am using the aspect code described at the bottom of this article,
http://weblogs.java.net/blog/alexfromsun/archive/2006/02/debugging_swing.html to find all the areas where the gui is being accessed outside the EDT. 

However I seem to have problems using it across modules, does anyone
have any advice on how to use AspectJ with the netbeans RCP so that the
pointcuts apply to all modules? Since it is only being used for
debugging I would ideally like it to be easy to add or remove.

I am using the AspectJ pulgin by Ramos
http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=4015 and netbeans 6.5 if that helps.



Back to the top