Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Extension point not found
Extension point not found [message #267651] Wed, 18 August 2004 21:32 Go to next message
Derek Adams is currently offline Derek AdamsFriend
Messages: 28
Registered: July 2009
Junior Member
I have a plugin that declares an extension point and a second plugin that
makes a contribution to the extension point in the first plugin. If I run
the plugins in the runtime workbench, the extension point is found and
everything works. If I export the plugins as an archive and install them,
the extension point is no longer found. The plugin.xml in the plugin
folder shows the extension point and the schema is inlcluded in the plugin
as well. When I make a call to
Platform.getExtensionRegistry().getExtensionPoint(id), it returns null in
the standard workbench. It returns the expected extension point in the
runtime workbench.

Any ideas?
Thanks,
Derek
Re: Extension point not found [message #267673 is a reply to message #267651] Wed, 18 August 2004 23:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Chris_Laffra.ca.ibm.com

This may help: eclipse -clean
Do you see any messages in the log?
What do you see in Window>Show View>Other..>PDE Runtime>Plug-in Registry?
Is your plug-in really loaded?
Chris

"Derek Adams" <derek_a_adams@yahoo.com> wrote in message
news:cg0htd$fe0$1@eclipse.org...
> I have a plugin that declares an extension point and a second plugin that
> makes a contribution to the extension point in the first plugin. If I run
> the plugins in the runtime workbench, the extension point is found and
> everything works. If I export the plugins as an archive and install them,
> the extension point is no longer found. The plugin.xml in the plugin
> folder shows the extension point and the schema is inlcluded in the plugin
> as well. When I make a call to
> Platform.getExtensionRegistry().getExtensionPoint(id), it returns null in
> the standard workbench. It returns the expected extension point in the
> runtime workbench.
>
> Any ideas?
> Thanks,
> Derek
>
Re: Extension point not found [message #267687 is a reply to message #267673] Wed, 18 August 2004 23:45 Go to previous message
Derek Adams is currently offline Derek AdamsFriend
Messages: 28
Registered: July 2009
Junior Member
This is weird. The plugin was loaded and the extension point was listed.
Also, the contribution from the other plugin showed up. I changed the
ExtensionRegistry call to use namespace and id rather than the full id,
and everything works. Not sure what the difference would be.

Thanks for your help!
Derek

Chris Laffra wrote:

> This may help: eclipse -clean
> Do you see any messages in the log?
> What do you see in Window>Show View>Other..>PDE Runtime>Plug-in Registry?
> Is your plug-in really loaded?
> Chris

> "Derek Adams" <derek_a_adams@yahoo.com> wrote in message
> news:cg0htd$fe0$1@eclipse.org...
> > I have a plugin that declares an extension point and a second plugin that
> > makes a contribution to the extension point in the first plugin. If I run
> > the plugins in the runtime workbench, the extension point is found and
> > everything works. If I export the plugins as an archive and install them,
> > the extension point is no longer found. The plugin.xml in the plugin
> > folder shows the extension point and the schema is inlcluded in the plugin
> > as well. When I make a call to
> > Platform.getExtensionRegistry().getExtensionPoint(id), it returns null in
> > the standard workbench. It returns the expected extension point in the
> > runtime workbench.
> >
> > Any ideas?
> > Thanks,
> > Derek
> >
Previous Topic:How to start the Eclipse editor for a IResource?
Next Topic:problem about ole
Goto Forum:
  


Current Time: Fri Jun 28 00:22:01 GMT 2024

Powered by FUDForum. Page generated in 0.85899 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top