acceleo mtl code generation

Post on 10-May-2015

6.833 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

The Eclipse M2T project aims at developing Model To Text tools and reducing the duplicate effort involved in template languages development. Currently, there are three languages components within M2T : JET, Xpand and MTL being the OMG MOF Model to Text implementation. MTL is using OCL for model navigation and query. MTL can generate any technology (Java, C, J2EE frameworks, Php) and with a "production ready" release planned for galileo, MTL is right away a real standard alternative for code generation. Being a community based project, Eclipse MTL puts forward a think tank discussion about specification, implementation and gather overall thoughts on how to provide a long term and successful communication channel between the MTL project and the OMG representatives. The team is composed of the Acceleo's code generator creators and contributors of the MOF 2 Text and QVT-R OMG specifications. The team reuses its knowledge to build an examplary implementation of the OMG standard. We want to be as close as possible to the specification knowing that the understanding of a specification may not always be unique. During this talk, we'll present the Galileo release of the component and its features (Standalone generator engine, full featured editors, live code preview) through businesses examples.

TRANSCRIPT

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Jonathan Musset jonathan.musset@obeo.fr

ObeoFrance

A standard alternative for code generation :

Acceleo MTL...

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Obeo

Eclipse Modeling Project M2T : MTL M2M : ATL EMF : EMF Compare, EEF Papyrus UML

Eclipse STP – SCA

Acceleo Acceleo MTL

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Demo - EEF

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Modules and Projects

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Template Editor Features

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Smart Completion on Syntax Constructs

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Smart Completion on Scripts and Meta-model

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Open Declaration and Search References

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Java Standalone API to run modules

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Run As > Ant Build

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Running modules

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Debugging modules

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Module UI – Create a Popup Action to Generate

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Dynamic templates

Create templates from an example

Advanced Eclipse Features

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

OMG Specification – Compliance levels

80% for Galileo

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

We would like to make MTL as easier as possible

Simplify OCL with a better tool support

OMG Specification – Complex?

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Galileo Train

Very useful right now

Examples are available : uml to java, ecore to python

Conclusion

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Thanks for your attention, any question ?

Further information : http://www.omg.org/ http://www.eclipse.org/m2t http://www.obeo.fr http://www.eclipse.org/modeling/m2t/downloads/?project=mtl

jonathan.musset@obeo.fr

top related