|createEcoreAnnotations is not generated from .xcore file [message #1770372]
||Thu, 10 August 2017 12:46
| Stefan Milchram
Registered: September 2012
we have a .xcore file with the following annotations at the beginning of the file:
@GenModel(modelName="myModelName", prefix="myprefix", modelDirectory="/model/src", editDirectory="model.edit/src", importerID="org.eclipse.emf.importer.ecore", rootExtendsClass="org.eclipse.emf.internal.cdo.CDOObjectImpl", rootExtendsInterface="org.eclipse.emf.cdo.CDOObject", providerRootExtendsClass="org.eclipse.emf.cdo.edit.CDOItemProviderAdapter", modelPluginVariables="org.eclipse.xtext.xbase.lib org.eclipse.emf.ecore.xcore.lib CDO=org.eclipse.emf.cdo", featureDelegation="Reflective", suppressGenModelAnnotations="false", literalsInterface="true")
When generating the java code the @GenModel annotation java method (createGenModelAnnotations) in class MyPackageImpl is created, but the method for the @Ecore (createEcoreAnnotations) is missing.
The Xcore editor is not showing any errors.
I cloned the emf-git repo (git://git.eclipse.org/gitroot/emf/org.eclipse.emf.git) and searched for the generator code, but couldn't find it.
Does anybody here know why the method is not generated or where the generator code is located exactly?
PS: i did not find a dedicated xcore-forum, so i posted the question here.
Thanks in advance
Powered by FUDForum
. Page generated in 0.02064 seconds