Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Installed bundle location format change


If anybody depends on the particular string format returned by Bundle.getLocation(), note that starting with today's integration build the format has changed. This format is not API, it is left up to the implementation.

With the exception of automatically installed bundles (runtime, osgi, osgi.services, update.configurator), all the bundles installed by the update configurator have a location with the following format:

update@/d:/eclipse/plugins/MyBundle/

The first part (update) identifies the configurator agent, in this case it is the update configurator.
The second part, is the full path to the bundle.

The old format ( reference:file:/d:/eclipse/plugins/MyBundle/  ) did not allow for identifying who installed the bundle, so there were cases in which the update configurator would uninstall bundles installed by other configurators.

-Dorian

Back to the top