Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsEclipse modelling IDE and RAP
https://www.eclipse.org/forums/index.php/mv/msg/1101386/1817345/#msg_1817345
HI all
Very strange behavior:
1- Install Eclipse with the Modelling IDE (last version)
2-Developp an EMF model , it works fine.
3-Generate Model Code, Model Edit and Model Editor. Still OK.
Now the next step.....
4-Install RAP using RAP Tools 3.9 - http://download.eclipse.org/rt/rap/tools/3.9 the last one compatible with the 2019-09 eclipse IDE.
5- Reboot.
6-The projects (Model, edit and editor) are still ok.
7-Install the Target Platform using the RAP Tool or manually.
Result:!!!!!!! The projects (Model, Model edit end Model Editor are no more ok why?
Because in the model the plugins org.eclipse.emf.ecore and org.eclipse.emf.ecore.xmi which are in the dependencies are no more here and worst they are no more accessible in the list!!! The proof cf image Bug1:
Question how we can do to use EMF model with RAP??????
Thanks a lot for your help
]]>antonio guillen2019-11-20T17:15:30-00:00Re: Eclipse modelling IDE and RAP
https://www.eclipse.org/forums/index.php/mv/msg/1101386/1817347/#msg_1817347
since you already have a Modeling IDE then you have EMF Parsley included.
So, even if you do not want to use EMF Parsley, you can anyway follow this tutorial https://www.eclipse.org/emf-parsley/documentation.html#par23
at least for the steps:
* Installing the RAP Tools (btw, with 2019-09 you will find RAP Tools 3.10 as the last one compatible)
* Setup the EMF Parsley RAP Target Platform
the last step
* Running the Parsley RAP UI Example
can be executed just to prove that you can use latest RAP+EMF
HTH
Vincenzo
]]>Vincenzo Caselli2019-11-20T18:08:32-00:00Re: Eclipse modelling IDE and RAP
https://www.eclipse.org/forums/index.php/mv/msg/1101386/1817375/#msg_1817375
Thanks a lot for your answer. I did it and it's right it work fine. So we can use it with a model.
Now I have another problem for my project:
I create a project using "Plugin-Devleoppement" and I want a RAP e4 template. In this case I have still a lot of plugins not available:
Step1: Create the project plugin:
Step2: Define the plug-in (here not RCP).
Step3:Define the plug-in we want use:
Step4 the result with a lot of plugin missing ??????
Have you an idea to be able to build this kind of project?
Best regards
Antonio
]]>antonio guillen2019-11-21T11:30:19-00:00Re: Eclipse modelling IDE and RAP
https://www.eclipse.org/forums/index.php/mv/msg/1101386/1817379/#msg_1817379
I'm pretty sure the problem is that our Target Definition file emf-parsely-rap.target (the first step of the tutorial) does non include the RAP e4 plugins and/or features.
But I wouldn't know which should be added.
]]>Vincenzo Caselli2019-11-21T12:45:52-00:00Re: Eclipse modelling IDE and RAP
https://www.eclipse.org/forums/index.php/mv/msg/1101386/1817392/#msg_1817392
What can I do?
I have my EMF Model completely done, all mys UI defined but I can't do the job...
Can you tell a way to solve the pb?
Thanks a lot for your help.
Antonio]]>antonio guillen2019-11-21T15:00:58-00:00Re: Eclipse modelling IDE and RAP
https://www.eclipse.org/forums/index.php/mv/msg/1101386/1817411/#msg_1817411
I Think are missing:
Antonio]]>antonio guillen2019-11-21T18:09:34-00:00Re: Eclipse modelling IDE and RAP
https://www.eclipse.org/forums/index.php/mv/msg/1101386/1817462/#msg_1817462
https://www.eclipse.org/forums/index.php/m/1817459/#page_top before reading this here...
While I read through the comments, I'd have one more advice...
Usually it is a bad idea to mix too many different version, especially different versions from older and from some newer p2 repositories.
The emf-parsely-rap.target definition as seen in the thread uses
That way you'd minimize the risk of incompatibilities between the different versions.
An if all this doesn't help, it may be worth asking the Parsley developers for advice as they are contributing and maintaining this target definition.
Regards,
Markus]]>Markus Knauer2019-11-22T14:40:05-00:00Re: Eclipse modelling IDE and RAP
https://www.eclipse.org/forums/index.php/mv/msg/1101386/1817464/#msg_1817464
thank you for pointing out that the Parsley target platform Example is not up to date: we will fix it.
Anyway we just suggested Antonio to use this example from a Parsley tutorial as a starting point on how to use RAP (e3) and EMF together.
Regards
Vincenzo
]]>Vincenzo Caselli2019-11-22T15:37:09-00:00Re: Eclipse modelling IDE and RAP
https://www.eclipse.org/forums/index.php/mv/msg/1101386/1817481/#msg_1817481
Thanks a lot for your answers and proposal.
There is no more problem for compilation and for retrieve the plugins.
The last problem is to select the good version of different plugins in the run configuration. It work fine in my case using the newer one.
At the end so far the run works fine.
It will be nice to have a Parsley target platform with compatibility with EMF and RAP e4 templates.
Thanks a lot
Antonio]]>antonio guillen2019-11-23T09:47:12-00:00Re: Eclipse modelling IDE and RAP
https://www.eclipse.org/forums/index.php/mv/msg/1101386/1817524/#msg_1817524
It works but I have a problem with the package org.eclipse.emf.edit.ui impossible to have it in the dependencies, so I cannot build adapters for a treeviewer for example.
Have you an idea how to solve this?
Thanks a lot for your help.
Best regards
Antonio]]>antonio guillen2019-11-25T11:22:49-00:00Re: Eclipse modelling IDE and RAP
https://www.eclipse.org/forums/index.php/mv/msg/1101386/1817525/#msg_1817525
for what I know you cannot use org.eclipse.emf.edit.ui with a RAP platform.
The correspondent for RAP is org.eclipse.emf.rap.edit.ui.
Remember: with RAP all UI parts are not true SWT/JFace, but wrappers that renders on a web interface.
HTH
Vincenzo