Chapter 2. Introduction

There are two ways to create a the structure of a meta model. The first one is to use Kermeta textual syntax and creating a ".kmt" file. using this approach you will have the sensation of "programming" your metamodel. The second one is to create an Ecore file using the tools proposed by EMF. (for example the EMF reflexive editor, or the ecore diagram editor from ecorre tools project).

You'll then be able to transform the ecore files to kmt files and vice versa as needed.

This tutorial should help you in manipulating the Ecore and KerMeta files. It gives an overview on how to create meta models and how to transform them.

Start by creating a new general empty project in Eclipse.