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 03:18
Turgay Celik is currently offline Turgay Celik
Messages: 9
Registered: January 2010
Junior Member
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: Sat Aug 23 03:35:51 EDT 2014

Powered by FUDForum. Page generated in 0.01535 seconds