|Equinox Update from Install [message #551995]
||Tue, 10 August 2010 13:11
| Zachary Calvert
Registered: July 2009
Once you have an installed and running Equinox OSGi stack, with the bundles all working out of the cache directory, is there a way to signal equinox/osgi that the core bundles were updated and installed in the original plugins directory? I need to trigger an update of the core OSGi equinox bundles.|
The only way I have discovered to manage this is to have some update manager bundle go through each bundle context and call the http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle. html#update%28java.io.InputStream%29
update(inputStream) per bundle that I need to update. Is there a way to have it reload the bundles from the details within config.ini?
The reason I can't do a -clean is because other jars may have been installed outside of the plugins directory, so this must be an update of those plugins without triggering a full flush of the bundle cache.
Thanks in advance!
Powered by FUDForum
. Page generated in 0.02560 seconds