Community
Participate
Working Groups
If an Xtext file references import "http://www.eclipse.org/xtext/common/JavaVMTypes" as types and its manually generated model also references http://www.eclipse.org/xtext/common/JavaVMTypes#//JvmType then the Xtext editor reports an incompatible feature. If however the manually generated model references ../../org.eclipse.xtext.common.types/model/JavaVMTypes.ecore#//JvmType the problem goes away. I was working around this problem by importing org.eclipse.xtext.common.types till some new genmodel problem needed investigating. Surely both ../../org.eclipse.xtext.common.types/model/JavaVMTypes.ecore and http://www.eclipse.org/xtext/common/JavaVMTypes should resolve URIs via platform:/plugin/org.eclipse.xtext.common.types/model/JavaVMTypes.ecore ensuring that both use the same normalized URI and so avoid the metamodel schizophrenia.