|
Re: [XCORE] Feedback from tutorial [message #801323 is a reply to message #801021] |
Sat, 18 February 2012 07:20 |
Ed Merks 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/
|
|
|
Powered by
FUDForum. Page generated in 0.04765 seconds