|Re: ECP - RAP editor and data binding via emfstore [message #1733660 is a reply to message #1733400]
||Mon, 30 May 2016 18:43
| Neil Mackenzie
Registered: December 2013
I set this up by compiling the code for the ecp and emfstore projects from the git repositories (there are other ways to set it up , but I like to be able to tweak the code and rerun quickly)
As an IDE I use the eclipse Oomph profile for Mars.2 (http://eclipsesource.com/blogs/2016/02/29/eclipsesource-oomph-profile-updated-to-mars-2/) since it has the required plugins (such as RAP tools for launching the application).
I checkout 'release 1.9.0' of the ecp project from git, and branch 'develop' from emfstore project.
I import all the projects from git.
I have a custom target and RAP launch script, which will hopefully be part of emfsttore project 1.8 RC2 release next week, they are the latest 2 attachements in bug report https://bugs.eclipse.org/bugs/show_bug.cgi?id=494651. The emfstore team will decide on the best place for these but you can put the launch script in org.eclipse.emf.ecp.releng project replacing the current launch script ecpwebemfstore.launch. I suggest putting the target file from the bug report in the _target project. Note that it was very recently updated to use eclipse neon milestones.
In windows->preferences->plugin developement-> target, choose the custom target. It can take a long time to load, be careful to check that it loads succesfully, clicking edit will usually make sure it is fully loaded in my experience.
Build the project (some projects, such as javafx modules, will not compile as they are not needed for RAP, tis is OK)
then running the launch script from 'run->run configurations' should run the start the application locally (again it may complain about some plugins not needed for RAP) . You may need to refresh the browser after a few seconds if it doesnt show the application immediately. It can also be deployed to tomcat with a bit of effort (I have documented the process at https://bugs.eclipse.org/bugs/show_bug.cgi?id=493073). any problems you can send me an email at email@example.com.
Powered by FUDForum
. Page generated in 0.01835 seconds