|Re: LTW not working in Eclipse Juno [message #988515 is a reply to message #988307]
||Fri, 30 November 2012 10:32
| Helge Mising name
Registered: October 2010
Ah, thank you for this insight. The weaving hook is a fragment to the OSGi bundle. But unfortunately, this does not solve my problem.
Likely, as you suggest, the different locations in the file system are the problem. The osgi bundle resides in Eclipse's plugin folder "/Applications/eclipse/plugins", whereas the hook fragment is in a platform specific folder in the user directory "/Users/username/.eclipse/org.eclipse.platform_4.2.0_2111846031/plugins". (I am on Mac OS 10.8 if this plays a role) Until now, I did not have the hook fragment in the workspace.
To solve the problem I tried the following strategies separately:
1) I moved the hook fragment to Eclipse's plugin folder. This does not work. All projects in my workspace will not be built anymore and in the plugins view is the hook fragment marked as out of sync.
2) I moved the osgi bundle to the platform folder. This does not work. Eclipse will not start up since it cannot find the osgi bundle.
3) I imported both, the osgi bundle and the hook fragment as binary projects into my workspace. In my run configuration I selected those two to be loaded. This does not work. It produces the same class not found exceptions.
As mentioned, I installed AJDT through the marketplace. The installation routine automatically placed all AJDT bundles into the platform directory in the user folder. Can I alter this behavior? Can I specify that all AJDT bundles end up in Eclipse's plugin folder? Is there an alternative way of installing AJDT? Should I uninstall AJDT and just manually place all of its plugins into Eclipse's plugin folder as in the old days?
Powered by FUDForum
. Page generated in 0.02581 seconds