programmatically downgrade eclipse plugin
I want to change a plugin in RCP product, but to keep the old plugin alive.
A user can choose between plugin A or B using a configuration.
I thought about creating a new version for the plugin and switch between them according to a flag. The new version will be the default one.
The question is how can I 'downgrade' the plugin in order to get back to the old one if requested?

Comments
It sounds like you need to use OSGI in order to start the correct plugin/bundle (and its dependants).
Basically, u r right - u need another plugin( a "Starter") which decides which version is correct (based on config file or whatever).
but the main func-ty is:
some links:
http://www.osgi.org/javadoc/ r4v42/org/osgi/framework/ BundleContext.html r4v42/org/osgi/framework/ Bundle.html documents/quickstart.php articles/OSGi/article.html
http://www.osgi.org/javadoc/
http://eclipse.org/equinox/
http://www.vogella.de/
hope it helps