Restarting the application after prestartup silent update with p2 [message #743156] |
Fri, 21 October 2011 03:18 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.26852 seconds