Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » P2 dev » Restarting the application after prestartup silent update with p2
Restarting the application after prestartup silent update with p2 [message #743156] Fri, 21 October 2011 07:18
Turgay Celik is currently offline Turgay CelikFriend
Messages: 9
Registered: January 2010
Junior Member
I want to restart my Equinox OSGI based command line application after performing automatic update with P2 during startup. Update works fine, it is recommended in some other posts to restart framework bundle by calling bundleContext.getBundle(0).update() method. When I call this method, all of bundles are seem to be restarted, but when I check versions of installed bundles with "ss" command, the updated bundles are still seem to remain in old versions. Updates are reflected only when I kill the application and restart it. How can I programmatically reflect bundle updates without killing and starting the application executable manually?

Turgay Celik
Previous Topic:P2: How installing MSI files using p2
Next Topic:Disable features via P2 Update Manager
Goto Forum:

Current Time: Fri Nov 27 21:01:43 GMT 2020

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

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

Back to the top