Install Bundles [message #581702] |
Fri, 26 September 2008 10:05 |
Michael Heiss Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Hi,
I am trying to install a plugin programmatically using the following code:
BundleContext context =
ResourcesPlugin.getPlugin().getBundle().getBundleContext();
String path = "reference:file:///"+workspace.getLocation()+"/"+name+"/";
Bundle bundle = context.installBundle(path);
Where name is the name of the plugin in my workspace.
This works fine, the plugin is beeing installed and i see it in the
Plugin-Registry. When i try to call bundle.start() then a ClassNotFound
exception is thrown. The classloader cannot find the activator class of
the new installed bundle.
How can i solve this?
BestRegards
Michael
|
|
|
Powered by
FUDForum. Page generated in 0.02937 seconds