Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP/EMF Integration
RAP/EMF Integration [message #1058889] Wed, 15 May 2013 14:42 Go to next message
Rene Richter is currently offline Rene RichterFriend
Messages: 13
Registered: May 2013
Junior Member
Hey,

I managed to run an emf editor in RAP 1.5.x quite easily.
The following problem(s) occur when I try to create an editor in RAP 2.0 /2.1:


Quote:
The bundle "org.eclipse.emf.rap.common.ui_2.7.0.v20130125-0826 [166]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.rap.ui; bundle-version="[1.5.0,2.0.0)"


Quote:
The bundle "org.eclipse.emf.rap.edit.ui_2.8.0.v20130125-0826 [167]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.rap.ui; bundle-version="[1.5.0,2.0.0)


My configuration looks as follows:
-Eclipse Juno SR2
-RAP Tools 2.0.0 & RAP Tools upgrade for Juno

-Target Platform
EMF RAP Target Components 2.8.3.v20130125-0826 (from the juno update site)

RAP Basic Equinox Target 2.1.0.2013056-2049
RAP Runtime 2.1.0.20130506-1748
RAP SDK 2.1.0.20130506-1748

Since the available rap.ui bundle version is 2.1.0, the thrown exception seems not to be very surprising to me. Anyway, is there any way to fix this issue or has anyone made emf and RAP 2.x work together successfully yet?

I considered finding "newer" EMF RAP Target Components with revised emf.rap.common.ui and emf.rap.edit.ui bundles but did find nothing.



Any help is appreciated




Re: RAP/EMF Integration [message #1059263 is a reply to message #1058889] Wed, 15 May 2013 16:32 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1291
Registered: July 2009
Senior Member

Hi René,

that's because RAP 2.0 has not been part of a simultaneous release.
Eclipse Juno included RAP 1.5. For a RAP 2.1-compatible version, you
have to get the emf.rap bundles from the Kepler repository [1].

Regards,
Ralf

[1] http://download.eclipse.org/releases/kepler

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP/EMF Integration [message #1060771 is a reply to message #1059263] Tue, 28 May 2013 12:05 Go to previous messageGo to next message
Rene Richter is currently offline Rene RichterFriend
Messages: 13
Registered: May 2013
Junior Member
Hey,

I'm sorry for my late response.

Your answer makes sense. Thank you very much Smile.
I'm not able to check your solution right now, but i'll deal with it as soon as possible and post the result
Re: RAP/EMF Integration [message #1083660 is a reply to message #1058889] Sat, 10 August 2013 09:00 Go to previous messageGo to next message
mu xin is currently offline mu xinFriend
Messages: 4
Registered: July 2013
Junior Member
Rene Richter wrote on Wed, 15 May 2013 10:42
Hey,

I managed to run an emf editor in RAP 1.5.x quite easily.
The following problem(s) occur when I try to create an editor in RAP 2.0 /2.1:


Quote:
The bundle "org.eclipse.emf.rap.common.ui_2.7.0.v20130125-0826 [166]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.rap.ui; bundle-version="[1.5.0,2.0.0)"


Quote:
The bundle "org.eclipse.emf.rap.edit.ui_2.8.0.v20130125-0826 [167]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.rap.ui; bundle-version="[1.5.0,2.0.0)


My configuration looks as follows:
-Eclipse Juno SR2
-RAP Tools 2.0.0 & RAP Tools upgrade for Juno

-Target Platform
EMF RAP Target Components 2.8.3.v20130125-0826 (from the juno update site)

RAP Basic Equinox Target 2.1.0.2013056-2049
RAP Runtime 2.1.0.20130506-1748
RAP SDK 2.1.0.20130506-1748

Since the available rap.ui bundle version is 2.1.0, the thrown exception seems not to be very surprising to me. Anyway, is there any way to fix this issue or has anyone made emf and RAP 2.x work together successfully yet?

I considered finding "newer" EMF RAP Target Components with revised emf.rap.common.ui and emf.rap.edit.ui bundles but did find nothing.



Any help is appreciated






Hi Rene Richter,

Now i have the same problem, can you tell me, do you find the solution? thank you very much!
Re: RAP/EMF Integration [message #1086666 is a reply to message #1083660] Wed, 14 August 2013 14:22 Go to previous message
Rene Richter is currently offline Rene RichterFriend
Messages: 13
Registered: May 2013
Junior Member
For me it was the most workable way to avoid this problem, was to switch to Eclipse Kepler.
Previous Topic:Trouble with the new Client API
Next Topic:Can't Revert from Rap 2.1 to RAP 1.5
Goto Forum:
  


Current Time: Wed Nov 26 06:58:01 GMT 2014

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

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