Closed FabianMarcoBauer closed 5 years ago
Adjusting the generated imports is possible using our moflon.properties file. Please refer to Q4 in the appendix of the handbook on unidirectional model transformation.
Note, however, that we do not support every option in the GenModel. There are just way too many.
Please try it out and close this issue if that fixes the problem.
Setting the import mapping in the moflon.properties file solved this issue. Than you very much.
When creating metamodels it is possible to define a basePackage, in which the generated model code will be located. When creating graph constraints for a metamodel with a base package, the imports in the generated code will ignore the base package and point to the wrong location.
Example (see handbook for metamodeling under "Can I have dots in an EPackage name (e.g. org.moflon.example.sokoban)?"):