Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Different GEF version cannot live together
Different GEF version cannot live together [message #143878] Thu, 22 July 2004 08:33 Go to next message
Eclipse UserFriend
Originally posted by: xavier.omondo.com

Hi,

Today I tested the following configuration :

Eclipse 2.1.3

- org.eclipse.gef_2.0.0
- org.eclipse.draw2d_2.0.0

and

- org.eclipse.gef_2.1.2
- org.eclipse.draw2d_2.1.2

I modified the plugin.xml where the import are specified by upgrading
the match attribute from equivalent to perfect.

The expecting result was two GEF and two Draw2d plugins recognized by
the platform.

However, only one plugin was recognized.

is this known ? is there a workaround ?

As this question is platform based rather than GEF based, please comment
I will post on the platform newsgroup.

Regards.
Re: Different GEF version cannot live together [message #143891 is a reply to message #143878] Thu, 22 July 2004 11:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: g.wagenknecht.planet-wagenknecht.de

Xavier Maysonnave wrote:
> However, only one plugin was recognized.

This is a limit in the runtime model. Only one version of a specific plug-in
can be active at the same time.

> is this known ? is there a workaround ?

Put different versions into different plugins and give them different plugin
ids or just create binary jars and put them into your plugin. The Eclipse
classloader will do the rest.

Cu, Gunnar
Re: Different GEF version cannot live together [message #143916 is a reply to message #143891] Thu, 22 July 2004 14:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: xavier.omondo.com

Gunnar Wagenknecht wrote:

> Xavier Maysonnave wrote:
>
>>However, only one plugin was recognized.
>
>
> This is a limit in the runtime model. Only one version of a specific plug-in
> can be active at the same time.

Do you know if this issue is opened as a bugzilla/feature request at
eclipse.org ?

Is there somewhere a discussion on that subject ?

I cannot google the eclipse newsgroup in a clever way on that subject.

>
>
>>is this known ? is there a workaround ?
>
>
> Put different versions into different plugins and give them different plugin
> ids or just create binary jars and put them into your plugin. The Eclipse
> classloader will do the rest.

It's exactly what we are going to do.

This is the only solution for commercial provider. How to imagine a
user/customer who play with different commercial plugin if they use the
same plugin but at a different level version. A real mess occurs and a
large Headache for support.

This is particularly true on platform like WSAD and Netweaver.

Regards.

>
> Cu, Gunnar
>
>
Re: Different GEF version cannot live together [message #144000 is a reply to message #143891] Thu, 22 July 2004 18:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Actually, the limitation is for plug-ins which define extension points. For
example, GEF has some UI keybindings defined in it.
One way to get around it is to create two separate plugins, one containing
just a JAR, and another containing just the extension pionts, but this would
require that the second plug-in be backwards compatible with the old JAR,
and its ugly too.


"Gunnar Wagenknecht" <g.wagenknecht@planet-wagenknecht.de> wrote in message
news:cdo74e$b96$1@eclipse.org...
> Xavier Maysonnave wrote:
> > However, only one plugin was recognized.
>
> This is a limit in the runtime model. Only one version of a specific
plug-in
> can be active at the same time.
>
> > is this known ? is there a workaround ?
>
> Put different versions into different plugins and give them different
plugin
> ids or just create binary jars and put them into your plugin. The Eclipse
> classloader will do the rest.
>
> Cu, Gunnar
>
>
Re: Different GEF version cannot live together [message #144145 is a reply to message #144000] Fri, 23 July 2004 09:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: xavier.omondo.com

Randy Hudson wrote:

Hi,

Thank you for your thoughts.

However we have tested the cohabitation under Eclipse 3 and both plugins
are recognized. It seems that the eclipse team have improved their
runtime model. I am pretty glad to see that. It means that the version
and match attribute will be useful.

Is the problem your report about keybindings apply on eclipse 3.

Regards.

> Actually, the limitation is for plug-ins which define extension points. For
> example, GEF has some UI keybindings defined in it.
> One way to get around it is to create two separate plugins, one containing
> just a JAR, and another containing just the extension pionts, but this would
> require that the second plug-in be backwards compatible with the old JAR,
> and its ugly too.
>
>
> "Gunnar Wagenknecht" <g.wagenknecht@planet-wagenknecht.de> wrote in message
> news:cdo74e$b96$1@eclipse.org...
>
>>Xavier Maysonnave wrote:
>>
>>>However, only one plugin was recognized.
>>
>>This is a limit in the runtime model. Only one version of a specific
>
> plug-in
>
>>can be active at the same time.
>>
>>
>>>is this known ? is there a workaround ?
>>
>>Put different versions into different plugins and give them different
>
> plugin
>
>>ids or just create binary jars and put them into your plugin. The Eclipse
>>classloader will do the rest.
>>
>>Cu, Gunnar
>>
>>
>
>
>
Re: Different GEF version cannot live together [message #144201 is a reply to message #144145] Fri, 23 July 2004 14:04 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

> However we have tested the cohabitation under Eclipse 3 and both plugins
> are recognized. It seems that the eclipse team have improved their
> runtime model. I am pretty glad to see that. It means that the version
> and match attribute will be useful.

I'm pretty sure there are no improvements in this area. 3.0 may *recognize*
plug-ins and display them as installed correctly (Maybe even 2.1 does this
too). But, once one of them is activated, the other cannot be activated
too. I'm not 100% sure, but I'd bet money on it.

> Is the problem your report about keybindings apply on eclipse 3.
>
> Regards.
Previous Topic:Palette Right Click
Next Topic:Which Policy for handling CreateRequest?
Goto Forum:
  


Current Time: Fri Apr 19 20:31:00 GMT 2024

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

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

Back to the top