Plugin was not loaded [message #330977] |
Wed, 20 August 2008 09:20 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
yau![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=dwserver2%40vip.163.com) Messages: 14 Registered: July 2009 |
Junior Member |
|
|
Hi!
I have 2 plugin project, one is a RCP application, it defines an extension
point, the other is an "normal" plugin, it defines an extension.
My problem is, when I run the application in eclipse ide environment, it's
OK, the RCP application can dect the extension defined by the plugin,
because in the run configuration I specified launch with these 2 plugin. But
when I export the RCP application to an directory, and also export the
normal plugin to the target plugin directory, then I launch the RCP
application(even if with -clean parameter), the extension contributed by the
normal plugin was not found, it seems the normal plugin was not loaded.
What's wrong in my case?
The MANIFEST.MF of the normal plugin as following:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Cosumer Plug-in
Bundle-SymbolicName: net.yau.test.extensionreg.cosumer;singleton:=true
Bundle-Version: 1.0.0
Bundle-Activator: net.yau.test.extensionreg.cosumer.Activator
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
net.yau.test.extensionreg.master;bundle-version="1.0.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
PS: I am use Eclipse 3.4.
Thanks!
Yau
|
|
|
Re: Plugin was not loaded [message #330989 is a reply to message #330977] |
Wed, 20 August 2008 15:49 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Andrew Niefer![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=aniefer%40gmail.com) Messages: 990 Registered: July 2009 |
Senior Member |
|
|
Make sure your plug-in is getting installed.
Look at the osgi.bundles property in your
eclipse/configuration/config.ini file.
Generally there are 3 patterns here:
1) All bundles in your product are listed here, make sure your plugin is
in the list.
2) org.eclipse.update.configurator is in the list, it takes care of
scanning the plugins directory and installing what it finds there
3) org.eclipse.equinox.simpleconfigurator is in the list, it reads the
bundles.info file specified with the
org.eclipse.equinox.simpleconfigurator.configUrl property. That
explicitly lists out the bundles that will be installed.
-Andrew
yau wrote:
> Hi!
>
> I have 2 plugin project, one is a RCP application, it defines an extension
> point, the other is an "normal" plugin, it defines an extension.
>
> My problem is, when I run the application in eclipse ide environment, it's
> OK, the RCP application can dect the extension defined by the plugin,
> because in the run configuration I specified launch with these 2 plugin. But
> when I export the RCP application to an directory, and also export the
> normal plugin to the target plugin directory, then I launch the RCP
> application(even if with -clean parameter), the extension contributed by the
> normal plugin was not found, it seems the normal plugin was not loaded.
> What's wrong in my case?
>
> The MANIFEST.MF of the normal plugin as following:
>
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: Cosumer Plug-in
> Bundle-SymbolicName: net.yau.test.extensionreg.cosumer;singleton:=true
> Bundle-Version: 1.0.0
> Bundle-Activator: net.yau.test.extensionreg.cosumer.Activator
> Require-Bundle: org.eclipse.ui,
> org.eclipse.core.runtime,
> net.yau.test.extensionreg.master;bundle-version="1.0.0"
> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
> Bundle-ActivationPolicy: lazy
>
>
> PS: I am use Eclipse 3.4.
>
> Thanks!
> Yau
>
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03437 seconds