RCP updated through Update Manager does not uninstall old plug-ins [message #483379] |
Tue, 01 September 2009 12:03 |
Sakis Kotisis Messages: 33 Registered: July 2009 Location: Belgium |
Member |
|
|
Hello,
hope someone can help with an issue i am experiencing with old update (not
p2) in an 3.4 rcp.
My RCP product consists of several features. Whenever i try to update some
existing feature using the update manager,
the corresponding feature in the update site is downloaded and installed
correctly along with it's plug-ins, as expected.
But, the old plug-ins are still loaded and installed after restarting the
application.
This is verified through
a) the RCP's about dialog, where all old plug-ins are still listed, along
with the new ones
b) inspecting BundleContext.getBundles()
I 've tried launching the product with "-clean" to no effect.
A more detailed description follows:
1) feature consists of several plug-ins with versions of type
1.1.0.qualifier
2) one of it's plug-ins is being modified
3) the modified plug-in's version number service part is incremented (from
1.1.0.qualifier to 1.1.1.qualifier)
4) all other plug-in's version numbers stay the same
5) feature version number service part is incremented
6) feature is added to update site
7) feature is built
8) rcp is launched
9) feature is updated through update manager
10) rcp is restarted
Some hints:
A) On each product startup (even before the update) the product's log is
filled with messages from plug-in org.eclipse.update.configurator of type :
!ENTRY org.eclipse.update.configurator 4 0 2009-09-01 14:52:38.625
!MESSAGE Could not install bundle
plugins/com.ibm.icu_3.8.1.v20080530.jar Bundle "com.ibm.icu" version
"3.8.1.v20080530" has already been installed from:
reference:file:plugins/com.ibm.icu_3.8.1.v20080530.jar
b) configuration\org.eclipse.equinox.simpleconfigurator\bundles .info is
still listing the old feature plug-ins after update
c) configuration\org.eclipse.update\install.log is correctly showing the
install and enablement of the new feature and disablement of the old one
d) configuration\org.eclipse.update\platform.xml is listing the new
feature after the update, but old plug-ins
e) configuration\org.eclipse.update\registry is still listing old bundles
f) configuration\org.eclipse.update\error_recovery.log is thrown
Has anyone encountered this situation? What could be the problem with my
feature, update site or product?
Thank you for any tips.
--
Sakis Kotisis
SciGen Technologies, Inc.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02756 seconds