Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » PluginRegistry.getPluginDescriptors() no longer topologically sorted
PluginRegistry.getPluginDescriptors() no longer topologically sorted [message #165268] Wed, 03 December 2003 15:30 Go to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

I have code which relies on getPluginDescriptors() returning an array such
that:
if plug-in A requires plug-in B, then indexOf(A) > indexOf(B)

This used to work (unless you had dependency cycles, I suppose). Anyway, I
guess I can fix my code pretty easily by doing it myself.
Re: PluginRegistry.getPluginDescriptors() no longer topologically sorted [message #165356 is a reply to message #165268] Wed, 03 December 2003 16:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: meshcheryakovsemen.hotmail.com

Topological sorting...

Best regards,
-- Sam
It's better to view source code than comments to it.
Re: PluginRegistry.getPluginDescriptors() no longer topologically sorted [message #165364 is a reply to message #165268] Wed, 03 December 2003 16:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Actually, I'm having some other problem that made me thing this was the
issue.

For some reason, my plug-ins have prereqs containing
"org.eclipse.ui.jface.text". But, there is no such plug-in. This happened
when migrating to M5, and reusing the target workspace from previous drops.
I'll have to investigate where the repreq is coming from, as the plugin
which requires it simply imports "org.eclipse.ui".

"Randy Hudson" <none@us.ibm.com> wrote in message
news:bqkveb$bo1$1@eclipse.org...
> I have code which relies on getPluginDescriptors() returning an array such
> that:
> if plug-in A requires plug-in B, then indexOf(A) > indexOf(B)
>
> This used to work (unless you had dependency cycles, I suppose). Anyway,
I
> guess I can fix my code pretty easily by doing it myself.
>
>
Re: PluginRegistry.getPluginDescriptors() no longer topologically sorted [message #165371 is a reply to message #165364] Wed, 03 December 2003 16:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Found the problem : "Compatability support misses jface.text". 47463
So, when I went to look up an entry for this bogus pre-req, it didn't exist.
I had originally thought it was a valid pre-req, and jumped to the wrong
conclusion.

"Randy Hudson" <none@us.ibm.com> wrote in message
news:bql2h7$g9b$1@eclipse.org...
> Actually, I'm having some other problem that made me thing this was the
> issue.
>
> For some reason, my plug-ins have prereqs containing
> "org.eclipse.ui.jface.text". But, there is no such plug-in. This
happened
> when migrating to M5, and reusing the target workspace from previous
drops.
> I'll have to investigate where the repreq is coming from, as the plugin
> which requires it simply imports "org.eclipse.ui".
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:bqkveb$bo1$1@eclipse.org...
> > I have code which relies on getPluginDescriptors() returning an array
such
> > that:
> > if plug-in A requires plug-in B, then indexOf(A) > indexOf(B)
> >
> > This used to work (unless you had dependency cycles, I suppose).
Anyway,
> I
> > guess I can fix my code pretty easily by doing it myself.
> >
> >
>
>
Re: PluginRegistry.getPluginDescriptors() no longer topologically sorted [message #166660 is a reply to message #165268] Sat, 06 December 2003 00:15 Go to previous message
Eclipse UserFriend
Originally posted by: pascal_rapicault.yahoo.fr

If you are using a drop post M5, it is probably a bug in the backward
compatibility layer.

PaScaL
"Randy Hudson" <none@us.ibm.com> a
Previous Topic:Eclipse platform runtime
Next Topic:How to Navigate eclipse.org website
Goto Forum:
  


Current Time: Fri Oct 18 07:23:30 GMT 2024

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

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

Back to the top