|
|
|
|
|
Re: EMF and RAP [message #1160761 is a reply to message #1160678] |
Tue, 29 October 2013 10:35 |
UmaShankar Subramani Messages: 194 Registered: December 2011 Location: SWEDEN |
Senior Member |
|
|
Yes of course I generated all the classes from the "library.genmodel" file of the example.
I am using Eclipse Modeling Tools Kepler Service Release 1 (latest version on Eclipse website). May be it does not work with Kepler as the example was made with Helios.
*I do not think there is any problem with the eclipse versions
The only difference with the tutorial is my target content which does not contains "Rich Ajax Platform (RAP) Runtime SDK 1.3" as it is not available in Kepler (http://download.eclipse.org/releases/kepler) but "RAP SDK 2.1.1"instead see file attached.
*They both are same indeed. But their name and version differs.
I must be missing something but I really can't find what it is...
*I see in the screenshot that, everything is fine except the "LibraryEditor.java" class. Can't you find what the problem is with this class?
/Uma
[Updated on: Tue, 29 October 2013 10:37] Report message to a moderator
|
|
|
|
|
Re: EMF and RAP [message #1161529 is a reply to message #1161347] |
Tue, 29 October 2013 21:39 |
boby pietri Messages: 27 Registered: October 2013 |
Junior Member |
|
|
Thanks Uma,
the error was resolved when adding "org.eclipse.rap.jface" and generating the classes again.
Also "EMF - Eclipse Modeling Framework SDK" is already installed.
But then I can't complete step "Launch the application" of the tutorial as I don't have the "LibraryEditorAdvisorApplication" class generated. So I can't use it as entry point.
How can I run the application then ?
I'm getting mad as this is only Eclipse configuration and I can't manage to get it working...
I really appreciate your help Uma.
[Updated on: Tue, 29 October 2013 21:41] Report message to a moderator
|
|
|
|
Re: EMF and RAP [message #1163846 is a reply to message #1161857] |
Thu, 31 October 2013 08:56 |
UmaShankar Subramani Messages: 194 Registered: December 2011 Location: SWEDEN |
Senior Member |
|
|
Hi Boby,
Add this class in your editor plugin. Then try to run your RAP application using this class as EntryPoint.
If it does not work. Try importing the RAP examples project to your workspace. This is just to make sure, if RAP is correctly installed.
You should also add these plugins in your run configuration.
*org.apache.felix.gogo.command
*org.apache.felix.gogo.runtime
*org.apache.felix.gogo.shell
*org.eclipse.equinox.console
Good Luck,
Uma Shankar
[Updated on: Thu, 31 October 2013 08:59] Report message to a moderator
|
|
|
|
Re: EMF and RAP [message #1165376 is a reply to message #1164308] |
Fri, 01 November 2013 08:28 |
UmaShankar Subramani Messages: 194 Registered: December 2011 Location: SWEDEN |
Senior Member |
|
|
Boby,
I just used your Library example. I generated Edit and Editor code. Just selected the "entrypoint" which is also automatically generated for me in the editor plugin "LibraryEditorAdvisorAppplication". (You do not have to use the class which I sent you, I was wrong).
It works fine.
So, nothing is wrong with the Library example.
Use the generated "LibraryEditorAdvisorAppplication" class as your entrypoint. Specify your entrypoint, in the same way it is specified in the MailDemo example(though your editor plugin). Then everything should work fine.
If you still have problems, just select all the target platform plugins in the "Bundles tab".
Then run you RAP application.
Are there any exceptions?
/Uma
[Updated on: Fri, 01 November 2013 10:19] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04610 seconds