Difference between revisions of "Acceleo/New And Noteworthy"

From Eclipsepedia

Jump to: navigation, search
(Acceleo 0.8)
(Acceleo 0.8)
Line 1: Line 1:
 
=Galileo Release=
 
=Galileo Release=
 
==Acceleo 0.8==
 
==Acceleo 0.8==
First public release of Acceleo, implementation of the OMG specification [http://www.omg.org/spec/MOFM2T/index.htm MOF Model to Text Transformation  
+
First public release of Acceleo, implementation of the OMG specification [http://www.omg.org/spec/MOFM2T/index.htm MOF Model to Text Transformation Language]
Language].
+
  
 
===Code Generation===
 
===Code Generation===

Revision as of 10:38, 10 June 2009

Contents

Galileo Release

Acceleo 0.8

First public release of Acceleo, implementation of the OMG specification MOF Model to Text Transformation Language

Code Generation

Acceleo can be used to generate code from any metamodel, be it Ecore, UML or a custom DSL, as long as it can be read through EMF.

Tooling

  • Acceleo is provided along with a powerful editor providing all usual features : code completion, syntax higlighting, code navigation, syntax error detection and marking, ...
  • Both run and debug modes are supported when launching generation modules.
  • Acceleo provides a facilities to automatically generate java code that can be called to launch generations. An "UI" module can also be automatically generated to add a popup menu action users can use to launch given generation modules on given model files.
  • Allows the initialization of templates from examples.

Dynamic templates

Acceleo supports dynamic overrides of generation templates : if templates overriding one of the currently evaluated module's templates are present either in the workspace or installed bundles, they'll be taken into account instead of said templates for the evaluation. This functionnality can be leveraged through extension points.

Custom code

Acceleo supports both the specification's "[protected]" blocks and the use of "@generated" annotations (within java code only) to prevent overriding part or all of the target files if they exist.

Standalone

Acceleo fully supports standalone generation with only a minimal set of plugins required in the classpath; Mainly EMF and Eclipse core.