|
Re: MWE and Check language [message #1053474 is a reply to message #1052637] |
Mon, 06 May 2013 08:05 |
|
First, there is no setter "modelFile" in type EmfMetaModel, it must be "metaModelFile".
The relative path should work when it is relative to the classpath root. Otherwise "metaModelFile" must be a URI string.
You can be sure that the right Ecore metamodel is used just by the fact that it can be located through the URI you are passing. If the file does not exist, you will notice an error.
Since your metaModel is local to the CheckComponent defined you can be sure that this EmfMetaModel instance will be another one than if you define a second CheckComponent. Each CheckComponent will use a different execution context.
Regards,
~Karsten
Need professional support for Xtext, EMF, Eclipse IDE?
Go to: http://devhub.karakun.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
[Updated on: Mon, 06 May 2013 08:12] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03193 seconds