org.eclipse.update.configurator fails with auto-installing [message #62460] |
Wed, 22 February 2006 07:50  |
Eclipse User |
|
|
|
hello all,
when I try to auto-install my plug-ins in the plugins directory within a bridge-servlet context an exception is risen:
(org.osgi.framework.BundleException) org.osgi.framework.BundleException: Bundle "org.eclipse.equinox.servlet.httpservice" version "3.2.0.200602221101" has already been installed from: initial@reference :file:plugins/org.eclipse.equinox.servlet.httpservice_3.2.0. 200602221101.jar/
the configurator plug-in tries to install the httpservice and other plug-ins, which were already installed per config.ini.
The array bundlesToInstall in the method installBundles() within the class ConfigurationActivator is filled with all plugins found in the plugin-directory, which seems to be wrong for me. In my tests the arrays have the following number of plug-ins:
cachedBundles = 13 pieces
plugins = 15 pieces
bundlesToInstall = 15 pieces
String[] bundlesToInstall = getBundlesToInstall(cachedBundles, plugins);
This occurs under the new eclipse M5, but M4 seems to have the same code and before I migrated I had the same problem with it.
Does somebody also have this kind of problem? Where is my mistake?
regards
martin
|
|
|
|
Powered by
FUDForum. Page generated in 0.02691 seconds