Code Generation (ModelToText o M2T) with Acceleo

Code Generation (ModelToText o M2T) with

Acceleo

Based on the OBEO manuals

available on the web



Index

Overview

? Set up an acceleo project

? The selection of metamodel, source model and

target directory

? The Acceleo template language

? An example

Overview

? Acceleo is an Eclipse plugin

? It comes with its own perspective

Step 1: Create a project

? Open the New project Eclipse wizard, and in the Model to

Text Transformation category select Acceleo Project.

? On the next page, enter the project name. You can then click

Finish or create one or several initial module files:

Step 1: Create a project

? Open the New project Eclipse wizard, and in the Model to

Text Transformation category select Acceleo Project.

? On the next page, enter the project name. You can then click

Finish or create one or several initial module files:

In the Module information

section, you can specify the

location and name of the new

.mtl file to create.

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download