Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Trouble with GEF and update in RCP application
Trouble with GEF and update in RCP application [message #220641] Wed, 02 August 2006 20:31 Go to next message
Ian Leslie is currently offline Ian LeslieFriend
Messages: 137
Registered: July 2009
Senior Member
I am having trouble using the GEF feature in my RCP application. I have
been adding an editor based on GEF for the last couple of months and I
have created my first release candidate build to test in a deployed
environment. Everything looks good except for update. When I bring up
the update dialog box I get the following error:

The current configuration contains errors and this operation can have
unpredictable results.
Graphical Editing Framework (3.2.0.v20060626) requires plug-in
"org.eclipse.platform (3.2.0)", or compatible.

Only see this error in the update dialog box not in the Product
Configuration window - it says all is well (including the status of the
GEF feature). I looked at the GEF feature and I found that it says it
requires the org.eclipse.platform plug-in:

org.eclipse.gef_3.2.0.v20060626\feature.xml contains:
<requires>
<import plugin="org.eclipse.platform" version="3.2.0" match="compatible"
/>
</requires>

However the plug-in org.eclipse.gef_3.2.0.v20060626.jar contains the
following in its manifest.mf
Require-Bundle: org.eclipse.draw2d;visibility:=reexport;bundle-version
="[3.2.0,4.0.0)",org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.
0)",org.eclipse.ui.views;resolution:=optional;bundle-version= "[3.2.0,
4.0.0)",org.eclipse.ui.workbench;bundle-version="[3.2.0,4.0.0) ",org.e
clipse.jface;bundle-version="[3.2.0,4.0.0)"

Which does not have a mention of the plug-in org.eclipse.platform.

My application works fine - all the features that I am using work as
expected. The problem is that updating does not work.

So, I hand edited my deployed install and removed the <requires> element
from GEF's feature.xml and restarted my application. Everything was still
fine and now update worked. To me this seems like a bug. Is there any
other information I am missing?

Any thoughts or advice would be appreciated.

Ian
Re: Trouble with GEF and update in RCP application [message #220719 is a reply to message #220641] Thu, 03 August 2006 15:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

When you say updating doesn't work, what exactly is the error message that
you get? It seems there's something wrong with the org.eclipse.platform
feature. Try updating just that one and see if it works. I don't see this
being a GEF bug, most likely a problem with the platform feature.


"Ian Leslie" <ian.leslie@lesliesoftware.com> wrote in message
news:6eb96d62d80d8c59bece4d1e610cd99c$1@www.eclipse.org...
>I am having trouble using the GEF feature in my RCP application. I have
>been adding an editor based on GEF for the last couple of months and I have
>created my first release candidate build to test in a deployed environment.
>Everything looks good except for update. When I bring up the update dialog
>box I get the following error:
>
> The current configuration contains errors and this operation can have
> unpredictable results.
> Graphical Editing Framework (3.2.0.v20060626) requires plug-in
> "org.eclipse.platform (3.2.0)", or compatible.
>
> Only see this error in the update dialog box not in the Product
> Configuration window - it says all is well (including the status of the
> GEF feature). I looked at the GEF feature and I found that it says it
> requires the org.eclipse.platform plug-in:
>
> org.eclipse.gef_3.2.0.v20060626\feature.xml contains:
> <requires>
> <import plugin="org.eclipse.platform" version="3.2.0" match="compatible"
> /> </requires>
>
> However the plug-in org.eclipse.gef_3.2.0.v20060626.jar contains the
> following in its manifest.mf
> Require-Bundle: org.eclipse.draw2d;visibility:=reexport;bundle-version
> ="[3.2.0,4.0.0)",org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.
> 0)",org.eclipse.ui.views;resolution:=optional;bundle-version= "[3.2.0,
> 4.0.0)",org.eclipse.ui.workbench;bundle-version="[3.2.0,4.0.0) ",org.e
> clipse.jface;bundle-version="[3.2.0,4.0.0)"
>
> Which does not have a mention of the plug-in org.eclipse.platform.
>
> My application works fine - all the features that I am using work as
> expected. The problem is that updating does not work.
> So, I hand edited my deployed install and removed the <requires> element
> from GEF's feature.xml and restarted my application. Everything was still
> fine and now update worked. To me this seems like a bug. Is there any
> other information I am missing?
>
> Any thoughts or advice would be appreciated.
>
> Ian
>
>
Re: Trouble with GEF and update in RCP application [message #220725 is a reply to message #220719] Thu, 03 August 2006 15:42 Go to previous messageGo to next message
Ian Leslie is currently offline Ian LeslieFriend
Messages: 137
Registered: July 2009
Senior Member
This is an RCP application - it is *not* using the platform feature (and
nor should it be). The exact error message I see is in the previous post.

The GEF plug-ins do not depend on code in the platform plug-in yet the
feature makes the platform feature a requirement. This seems like a bug
but I wanted to check with this forum first in case I missed something.

Ian
Re: Trouble with GEF and update in RCP application [message #220732 is a reply to message #220725] Thu, 03 August 2006 15:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

Okay, I just verified that the platform feature's not in RCP. GEF should be
requiring the RCP feature and not the platform one. You can open a bug
about that.

"Ian Leslie" <ian.leslie@lesliesoftware.com> wrote in message
news:6a8bfc2e2f2f5db39412cdc32d19acf7$1@www.eclipse.org...
> This is an RCP application - it is *not* using the platform feature (and
> nor should it be). The exact error message I see is in the previous post.
>
> The GEF plug-ins do not depend on code in the platform plug-in yet the
> feature makes the platform feature a requirement. This seems like a bug
> but I wanted to check with this forum first in case I missed something.
>
> Ian
>
>
>
Re: Trouble with GEF and update in RCP application [message #220804 is a reply to message #220732] Fri, 04 August 2006 14:28 Go to previous message
Ian Leslie is currently offline Ian LeslieFriend
Messages: 137
Registered: July 2009
Senior Member
Done: https://bugs.eclipse.org/bugs/show_bug.cgi?id=152844

I hand tweaked GEF's feature.xml file in my target platform and it works.

Thanks for your help.

Ian
Previous Topic:Getting References to other Models
Next Topic:Figure paint causes 100% CPU load
Goto Forum:
  


Current Time: Sat Apr 20 08:26:26 GMT 2024

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

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

Back to the top