|Re: [xtext] import model from xcore [message #895799 is a reply to message #895763]
||Mon, 16 July 2012 06:07
| Ed Merks
Registered: July 2009
It's interesting that various indexers need to agree on how they index
things, but an *.xcore resource contains Xcore, Ecore, GenModel and JVM
Types so it's hard to ensure that each of those is indexed a way
consistent with the each of those model's various indexers because they
don't reuse those other model's description strategies. Perhaps they
On 15/07/2012 10:27 PM, Knut Wannheden wrote:
> I had another quick look at this and to me it seems like Xcore doesn't
> export the EPackages to the Xtext index correctly when there is a
> custom nsURI set. See
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=385124 for details.
> On 7/15/12 15:19, Knut Wannheden wrote:
>> I would like to define my Ecore model in Xcore and import it from my
>> Xtext grammar. So far I've only been able to get that working by using
>> an URI like 'platform:/resource/myproject/path/to/model.xcore#/2'.
>> I would prefer using the model's nsURI to import it. Is that not
>> supported yet or is the Ecore model not exported correctly (with its
>> nsURI) by Xcore?
Professional Support: https://www.macromodeling.com/
Powered by FUDForum
. Page generated in 0.01938 seconds