| [news.eclipse.technology.equinox] Re: programmatically add new bundles? |
Hello Paul,
thanks for the quick pointer! I will have a look at it.
Best,
Sandro
I don't know an elegant way :) but I was experimenting with a similar approach.
Creating bundles so that different versions of a library could be dynamically loaded into a running instance.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=263723
There is some sample code attached to that bug. I think I was exposing it as a service, but that's not necessary. I think the BundleContext can be used to install the new bundle and the PackageAdmin service can be used to refresh the packages it exports.
PW