Subject: Adding AspectJ Nature...
From: Paul Freeman (pfreeman@ccs.neu.edu)
Date: Thu Nov 07 2002 - 09:29:31 EST
Hi All -
I have been having a problem with the homework that I thought I should
share with you all. I think I found the solution.
I have been building the plug-in using the PDE (plug-in development
environment) in Eclipse. Using this, you can test your plug-in using
the "runtime workbench" as you develop it (you still need to export the
jar file, but there is no need to shut down and start up the application
in between. It is conveinient, but there is a problem, at least with
the the windows implimentation.
I noticed it when I tried to add the AspectJ Nature to the project.
Adding the nature should start the AspectJ plug-in automatically, but I
kept getting the following error message:
Unhandled exception caught in event loop.
Reason:
Attempt to load class
"org.eclipse.ajdt.internal.ui.AspectJProjectNature" from deactivated
plug-in "org.eclipse.ajdt.ui".
It turns out, that just adding the nature will work, but you can no
longer use the run time workbench to test your plug-in. My plug-in
worked just fine, i.e. did not throw the error message, when I added the
jar and xml file directly to the plug-in directory and restarted
eclipse. However, using the same code with the runtime workbench causes
the afore mentioned error.
Hope this helps,
Paul
This archive was generated by hypermail 2b28 : Thu Nov 07 2002 - 09:32:24 EST