Imported EPackages broken in Gratext MWE2 for nested Ecore models
Gratext fails to import EPackages from nested Ecore models, like the ones generated by CINCO itself.
Example
We used to import Data.ecore, Process.ecore, etc. for extending DIME, e.g. in the MAD project: MAD.mgl#L13
When switching to
import "platform:/plugin/info.scce.dime/model/DIME.ecore" as dime
referencing e.g. a Process model via
prime dime.Process as model
works in the MGL but fails at generation time because Gratext doesn't generate respective EPackage imports into the *Gratext.mwe2 file. In this example, the following line would be missing:
registerGeneratedEPackage = "info.scce.dime.process.process.ProcessPackage"
Seems like Gratext fails to identify these EPackages from the nested Ecore models.