melange
melange copied to clipboard
language runtime not detected and generate MT fail for an ecore named "testMM_Foo.ecore"
it seems that Melange has issue for some ecore when they used some names such as "testMM_Foo.ecore".
for such ecore, the warning about "Cannot find EMF runtime for ..." is never fixed even if the corresponding project has been correctly generated. In addition, the code for the model type (*MT.java") is not generated
The crash does NOT produce any trace in any of the log or consoles :cry:
procedure : (I used GEMOC studio 2.3.0 and 3.0.0)
- New ecore Modeling project, use a name with uppercase and underscore such as "testMM_Foo" (I still don't know if this is the underscore or the uppercase that make this issue
- add a few classes (2 is enough), then generate model code
- create a melange project and language that refer it. For convenience, simply use Gemoc "new GEMOC sequential project" and one of its templates
- on the .melange file, generate all (the runtime project it there but the warning on the language is still here) the src-gen folder will NOT have any *MT.java file. you can try to launch the different action separately but with no help.
(project for verification) MelangeIssue_testMM_Foo.zip