You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to generate the typescript classes for the "Util.ecore" model in a "util" directory and for the "Vehicle.ecore" model in a "vehicle" directory.
When I generate the Vehicle.ecore model, the "..Impl" and "..Base" classes for ObjectDef (Util.ecore model) are generated.
The same, if I generate the Util.ecore model. The ..Impl and ..Base classes for EModelElement (Ecore.ecore model) are generated.
The text was updated successfully, but these errors were encountered:
I have this 2 Ecore models:
Util.ecore
<?xml version="1.0" encoding="UTF-8"?> <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="util" nsURI="http://test/util" nsPrefix="util"> <eClassifiers xsi:type="ecore:EClass" name="ObjectDef" eSuperTypes="Ecore.ecore#//EModelElement"> <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="Person" eSuperTypes="#//ObjectDef"> <eStructuralFeatures xsi:type="ecore:EAttribute" name="firstname" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> <eStructuralFeatures xsi:type="ecore:EAttribute" name="lastname" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> </eClassifiers> </ecore:EPackage>
Vehicle.ecore
<?xml version="1.0" encoding="UTF-8"?> <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="vehicle" nsURI="http://test/vehicle" nsPrefix="vehicle"> <eClassifiers xsi:type="ecore:EClass" name="Car" eSuperTypes="Util.ecore#//ObjectDef"> <eStructuralFeatures xsi:type="ecore:EAttribute" name="brand" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> <eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="ecore:EClass Util.ecore#//Person"/> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="Bike" eSuperTypes="Util.ecore#//ObjectDef"/> </ecore:EPackage>
Problem:
I want to generate the typescript classes for the "Util.ecore" model in a "util" directory and for the "Vehicle.ecore" model in a "vehicle" directory.
When I generate the Vehicle.ecore model, the "..Impl" and "..Base" classes for ObjectDef (Util.ecore model) are generated.
The same, if I generate the Util.ecore model. The ..Impl and ..Base classes for EModelElement (Ecore.ecore model) are generated.
The text was updated successfully, but these errors were encountered: