Skip to main content



      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 03:18
Eclipse UserFriend
Hi,
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?

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


Current Time: Tue Jul 08 08:22:49 EDT 2025

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

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

Back to the top