Defining metamodels with Xcore is a lot easier than with EMF and Ecore. The problem is that I need the metamodels as Ecore files. Is it possible to export Xcore model to Ecore model? I don't see any export options in Eclipse.
Asked
Active
Viewed 1,341 times
1 Answers
5
The official Wiki describes how to export an Xcore model to a GenModel. It looks like the same can be done with the Ecore Model. Especially because the author mentions:
[...] Xcore resource does physically contain a GenModel and an Ecore model [...]

Max Hohenegger
- 1,609
- 15
- 19
-
I saw that, but how to generate the ecore file? – aphex Apr 12 '13 at 22:27
-
1I just followed the steps from the wiki. The importer will actually create the Ecore next to the GenModel, without any additional steps. I tested this using Xcore SDK 1.0.2 and Eclipse 4.2.2. – Max Hohenegger Apr 12 '13 at 23:46
-
thanks very much! I didn't finished the tutorial because i thought that it would generate only the genmodel. – aphex Apr 13 '13 at 15:06