Community
Participate
Working Groups
http://www.eclipse.org/forums/index.php/t/628257/
Build and published
More feedback/test
(In reply to Martin Taal from comment #2) > More feedback/test Tried with build 0.1.0.v201312121235 but no luck. <code> java.lang.IllegalStateException: Invalid EPackage: profile Diagnosis of platform:/resource/org.sample.profile/model/profile.ecore#/ The feature 'eType' of 'platform:/resource/org.sample.profile/model/profile.ecore#//ProfileEntry/userId' contains an unresolved proxy 'platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString' The feature 'eAttributeType' of 'platform:/resource/org.sample.profile/model/profile.ecore#//ProfileEntry/userId' contains an unresolved proxy 'platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString' The feature 'eRawType' of 'platform:/resource/org.sample.profile/model/profile.ecore#//ProfileEntry/userId/@eGenericType' contains an unresolved proxy 'platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString' The feature 'eClassifier' of 'platform:/resource/org.sample.profile/model/profile.ecore#//ProfileEntry/userId/@eGenericType' contains an unresolved proxy 'platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString' </code>
I tried it with 1.2.0.v20140407-1043. When generating the .ecore file via genmodel from .xcore, the eCore type is not correctly resolved: eType="ecore:EDataType ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString" Can you have a second look?
Hi, I did a new build with several fixes and new feature (XCore integration). Can you retry it with this build? http://download.eclipse.org/modeling/emft/texo/updates/interim/ gr. Martin
Hi Martin, do you think the assignment to Texo is correct? Currently I am not using texo, but the generation of ecore from xcore with using org.eclipse.emf.ecore.xcore.sdk.feature.group ( 1.2.1v20141013-0331 ). If I modell in xcore @ExtendedMetaData(kind="attribute", name="theme" ) unique org.eclipse.emf.ecore.xml.^type.String theme I get <eStructuralFeatures xsi:type="ecore:EAttribute" name="theme" eType="ecore:EDataType ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"> <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> <details key="kind" value="attribute"/> <details key="name" value="theme"/> </eAnnotations> </eStructuralFeatures> instead of the expected <eStructuralFeatures xsi:type="ecore:EAttribute" name="theme" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"> <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> <details key="kind" value="attribute"/> <details key="name" value="theme"/> </eAnnotations> </eStructuralFeatures>
Hi Rainer, Not sure if the assignment to texo is correct. The best is if you can enter a new issue on EMF. So Ed (Merks) can respond on it there. If you do, it is great if you also list the other issue here. Thanks! gr. Martin
Hi Martin, I generated the bugreport Bug 458621 - References to Ecore are not resolved correctly when generating code from xcore
*** This bug has been marked as a duplicate of bug 458621 ***