Split Ecore model over different repos [message #1828761] |
Thu, 18 June 2020 03:58  |
Eclipse User |
|
|
|
We have a common class model defined in an Ecore model.
From derived Ecore models we want to reuse classes from the common model.
And probably we will have links between derived ecore models.
While working an a PoC we have it now in 1 git repos, but different Maven modules.
That is working 'fine', but we have relative references in the Ecore model:
<eClassifiers xsi:type="ecore:EClass" name="TypeDefinition" eSuperTypes="../../../../common-data-model//src/main/resources/common.ecore#//LCClass">
<eClassifiers xsi:type="ecore:EClass" name="Event">
<eStructuralFeatures xsi:type="ecore:EReference" name="operations" upperBound="-1"
eType="ecore:EClass ../../../../common-data-model/src/main/resources/common.ecore#//Operation"/>
</eClassifiers>
We like to split this in different Git repositories, so teams can work independently on their derived models without bothering others.
The number of derived models will grow and the teams are geographically spread.
Is there a way we can create the references differently then relative paths or absolute paths? Absolute paths require that the folder structure is on developer machines and CI servers is always the same.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03307 seconds