[Xtext] Did you forget to configure the corresponding metamodel? [message #61907] |
Tue, 21 July 2009 10:58  |
Eclipse User |
|
|
|
Hi,
I have a Checks.chk ffile with constraionts om my model. In this file I
use two metamodels. The one is the metamodel of the editor that is
open. The other is an external metamodel.
Whenever the Checks file is trifggered in the exitor I get the
following message:
Couldn't resolve type for 'crossx::ReferenceSymbolProperty'.
Did you forget to configure the corresponding metamodel?
The external metamodel I refer to is "crossx", so the xtext editor does
not know this metamodel. When this is run through a nworkflow file I
know how to registerv the metamodel, but how and where to do this when
triggered from the editor?
All references to the crossx project seem to be ok.
Jos
|
|
|
|
|
|
|
|
|
Re: [Xtext] Did you forget to configure the corresponding metamodel? [message #62158 is a reply to message #62133] |
Tue, 21 July 2009 16:42  |
Eclipse User |
|
|
|
Hi Jos,
the only thing that comes into my mind is a second EPackage with the
name "crossx" in your registry, but with another nsURI.
Maybe you want to iterate the registry's content and double check the
known metamodels?
Is your project open source or is there some way to peek at the sources?
Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Am 21.07.2009 20:18 Uhr, schrieb Jos Warmer:
> Sevbastian,
>
> No it isn't :-). Names of the two do not look remotely similar.
>
> Jos
>
> Sebastian Zarnekow wrote:
>
>> Jos,
>
>> what's the name of your DataContractDslPackage? It's not crossx, is it?
>
>> Regards,
>> Sebastian
>
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03868 seconds