|Re: Support of metamodels referencing other metamodels [message #1836863 is a reply to message #1836861]
||Fri, 15 January 2021 21:00
| Christopher Gerking
Registered: April 2011
Ed Willink wrote on Fri, 15 January 2021 14:05|
You must decide which alternative to use and only use that and do so consistently everywhere.
I basically agree, but this time it actually seems to be a QVTo bug. Even if I change the metamodel URI to platform:/plugin/org.eclipse.ocl.pivot/model/Pivot.ecore#T-pivot-State, the error remains. More previsely, it changes to "Type mismatch: can not convert from 'pivot::State' to 'pivot::State' type", which clearly indicates the metamodel schizophrenia. However QVTo should be able to handle this case, I will have a look into it soon.
Denis, if you just want to make your transformation compile, try the following:
This should compile because it omits the State type, but I'm not sure whether it runs successfully.
Powered by FUDForum
. Page generated in 0.02700 seconds