In our Project we are using Acceleo to generate Java code from our eCore Models.
We have created a file called "java.ecore" which contains java standards that we are using (e.g. java.io.Closeable)
Now if I want to create a Class in the project specific "project.ecore" which implements Closeable, I can reference the "java.ecore" like so:
<eClassifiers xsi:type="ecore:EClass" name="ProjectClass" eSuperTypes="relative/path/to/java.ecore#//io/Closeable" />
The part relative/path/to/ gives me a headache.
As we are using the "java.ecore" in different places in our multi-module project, I would like to avoid using a relative path and instead place the "java.ecore" in a separate module and reference this module through some dependency defined in the Acceleo plugin (or similar).
Is this possible?
You want to use URIs with the platform:/resource and/or platform:/plugin schemes.