Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP updated through Update Manager does not uninstall old plug-ins
RCP updated through Update Manager does not uninstall old plug-ins [message #483379] Tue, 01 September 2009 12:03 Go to next message
Sakis Kotisis is currently offline Sakis KotisisFriend
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.
Re: RCP updated through Update Manager does not uninstall old plug-ins [message #483632 is a reply to message #483379] Wed, 02 September 2009 12:06 Go to previous messageGo to next message
Sakis Kotisis is currently offline Sakis KotisisFriend
Messages: 33
Registered: July 2009
Location: Belgium
Member
My config.ini was specifying org.eclipse.equinox.simpleconfigurator as the
product's configurator, since this is being used by p2.
Modifying osgi.bundles

osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.core.runtime@start

to use org.eclipse.update.configurator resolved the issue.


--
Sakis Kotisis

SciGen Technologies, Inc.
Re: RCP updated through Update Manager does not uninstall old plug-ins [message #484279 is a reply to message #483379] Sat, 05 September 2009 12:29 Go to previous message
mike is currently offline mikeFriend
Messages: 35
Registered: July 2009
Member
Hi,

I'm developing RCP 3.5 based app and I have similar problem (plugin and
features are downloading and install but still my app loads old features
and plugins). In RCP 3.4 all works fine. I have tried your solution but it
does not works for me. Could someone tell me how to use old UpdateManager
in RCP3.5 app (or maybe disable p2?) ?

Thanks
Previous Topic:[jface.databinding] empty-selection state not supported by SingleSelectionObservableValue?
Next Topic:Using Eclipse RCP for Python
Goto Forum:
  


Current Time: Fri Apr 26 20:07:09 GMT 2024

Powered by FUDForum. Page generated in 0.03027 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top