Problem with access to a class of plugin1 from plugin2 [message #184590] |
Fri, 15 December 2006 06:30  |
Eclipse User |
|
|
|
Hello,
I'm trying to write plugins for Eclipse. There is two plugins :
- plugin1 and plugin2 where plugin2 depends on plugin1 : I want to access
some classes of plugin1 into plugin2.
So, in the plugin1, I define the Runtime and I enumerate the packages of
this plugin1 which will be exposed to other plugins. I configure also the
ExtensionPoints with Add to get into the plugin.xml file the tags :
<extension-point id="utils" name="CommonUtils" schema="schema/utils.exsd"/>
<extension-point id="base" name="CommonBase" schema="schema/base.exsd"/>
Into the plugin2 :
- I add the plugin1 into the dependencies.
- I add the two extensions of plugin1 into Extensions of plugin2.
Then, into the plugin2 I try to call classes of plugin1, there is no error
but when I install my two plugins (plugin1 and plugin2) and when I run the
plugin2, there is an error with the messages
"java.lang.NoClassDefFoundError: plugin1/Activator".
It doesn't find the class of plugin1...
Have I missed somethings ?
Thanks for your help...
Sophie
Sophie.Andrieu@xrce.xerox.com
|
|
|
|
Powered by
FUDForum. Page generated in 0.09709 seconds