Friday, 9 August 2013

Preprocessing step to load update bundles (plugins) when starting an Eclipse RCP application

Preprocessing step to load update bundles (plugins) when starting an
Eclipse RCP application

I want to enhance my Eclipse RCP application with following capability:
when starting the app a bootstrap mechanism should check a folder whether
there are update bundles/plugins available in it and, if so, install them
via the BundleContext. However, the problem is that this would mean that
also the bundle that contains my IApplication implemenation can be
updated. So the preprocessing step must be after starting OSGi, but before
starting the app. Is it possible to do this? (Other approaches like
overwriting the old bundles before starting the application are not
feasible).

No comments:

Post a Comment