Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [XCORE] Feedback from tutorial([XCORE] Feedback from tutorial)
[XCORE] Feedback from tutorial [message #801021] Fri, 17 February 2012 20:34 Go to next message
Greg Babcock is currently offline Greg BabcockFriend
Messages: 53
Registered: July 2009
Member
IMHO the tutorial is a very good introduction to xcore for someone familiar with emf. I ran into two bugs in the tooling, but they did not keep me from finishing the tutorial.


In case you have not already discovered these bugs:

Leaving out the return type when creating the Library.getBook method causes Xtext to throw an exception somewhere in the middle of typing the for loop

An internal error occurred during: "Xtext validation".
org.eclipse.emf.common.util.WrappedException: java.lang.IllegalArgumentException: Qualified name cannot be null

The genmodel created from the xcore model failed to find the Ecore.xcore file

An internal error occurred during: "Xtext validation".
org.eclipse.emf.common.util.WrappedException: java.lang.IllegalArgumentException: Qualified name cannot be null

Question: Are there any plans to enable generation of the edit, editor, and junit plugins from the xcore file, or will it always require creating a genmodel as an intermediate step?
Re: [XCORE] Feedback from tutorial [message #801323 is a reply to message #801021] Sat, 18 February 2012 07:20 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Greg,

Comments below.

On 17/02/2012 9:34 PM, Greg Babcock wrote:
> IMHO the tutorial is a very good introduction to xcore for someone
> familiar with emf.
Yes, it definitely assumes you know EMF and Ecore.
> I ran into two bugs in the tooling, but they did not keep me from
> finishing the tutorial.
>
>
> In case you have not already discovered these bugs:
>
> Leaving out the return type when creating the Library.getBook method
> causes Xtext to throw an exception somewhere in the middle of typing
> the for loop
We don't do any proper type checking of the return types of the block
expressions. So I believe nothing currently checks to see if the
declared return type matches the what's actually returned. It will be
good to open bugzillas with specific issues like this. I'll want to fix
them all.
>
> An internal error occurred during: "Xtext validation".
> org.eclipse.emf.common.util.WrappedException:
> java.lang.IllegalArgumentException: Qualified name cannot be null
>
> The genmodel created from the xcore model failed to find the
> Ecore.xcore file
>
> An internal error occurred during: "Xtext validation".
> org.eclipse.emf.common.util.WrappedException:
> java.lang.IllegalArgumentException: Qualified name cannot be null
It's always a bit tricky to be sure that what's working in my
development environment works when the bundles are actually jarred up
and deployed.
>
> Question: Are there any plans to enable generation of the edit,
> editor, and junit plugins from the xcore file, or will it always
> require creating a genmodel as an intermediate step?
No, we definitely want to support the full set of things you can do with
GenModel. Of course I know it's currently limited, but if you open a
bugzilla it will be higher on my radar knowing that folks are really
wanting to use it for that.

Please feel free to report anything you see that's going astray! It's
good to know exactly what people are trying, and what's holding up their
progress.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[Texo] Best way to add JPA implementor specific annotation to generated entities
Next Topic:[EMF Facet] Serialization mechanisms / CDO integration
Goto Forum:
  


Current Time: Thu Apr 25 19:09:20 GMT 2024

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

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

Back to the top