Reputation: 165
I am writing on an Eclipse RCP project with >50 plugins. When changing something on my plugin, I have to take the time to close the RCP App, and run it again. This takes time.
What I'd rather do is to reload the newly-built plugin in question at RCP-runtime. Is that possible, and if yes, how?
Thanks!
Upvotes: 3
Views: 582
Reputation: 1402
I would try this:
import org.eclipse.core.runtime.Platform;
...
// at the place you need to reload your plugin
Platform.getBundle( "bundle " );
and replace the String content "bundle"
with the value from the MANIFEST.MF
of the Bundle-SymbolicName:
entry.
Upvotes: 1