And you thought you knew template based code generators?

Acceleo presentation for EclipseCon Europe 2011 »
Stephane Begaudeau

And you thought you knew
template based code generators?
Meet Acceleo
Initialization
Improve our project
Problems? Let's debug!
Deliver you generator
Maintenance
Scaling support
Obeo Traceability
Find your origins
Dynamic synchronization
Need hot fixes?
User code
Want to know more?
Planning
About me
creation
improvement
debug
deployment
maintenance
support
Stéphane Bégaudeau
commiter on Acceleo
developper on Traceability
Obeo
strategic member
involved in several projects (Acceleo, EMF Compare, EEF, Intent...)
Acceleo is an open source code generator implementing the OMG's MOFM2T
standard that uses any kind of EMF based models (UML, SysML, DSM...) to
generate any kind of code (Java, Scala, DSL...) while keeping the traceability of
the generated text.
What is Acceleo?
Where is it coming from?
2005 Birth of Acceleo
2006 Acceleo 1.0
2008 Entrance in the Eclipse Foundation
2010 First appearance in the release train
2011 Acceleo 3.1
Last Week, Acceleo 3.2
It's all about the standards
EMF
MOFM2T
OCL
The prototype based approach
Find the architecture of your generated code
Initialize your generator with it
MOFM2T
Modules
Templates
Queries
The Acceleo perspective
The Acceleo editor
Refactoring
Customization
Profiling
Debugger
Interpreter
Ant/Maven build
Eclipse Integration
Stand alone
Traceability
Dynamic modules
Eclipse Newsgroups
OPEES talk: tomorrow at 11:30
Direct Email Support
Dedicated Hotfixes
Advanced Traceability
Input
Generator <-> Generator Code <-> Model
Tooling
Metamodel View
Generated Files View
With time, code generation projects grow bigger and the generation can take a significant time.
Preview
Incremental Generation
Protected areas and JMerge may not be enough...
Don't have time? You need to change the generated code?

There is a solution to protect this code...
Marked Files View
Have a look at all the protected files in a single place.
Try Traceability with all the other Obeo projects
Obeo Designer
Grab the latest version of Acceleo
Acceleo 3.2
Documentation
User Guide, videos, best practices
That's all folks!
Follow the latest news about Acceleo on Twitter and Google+
@sbegaudeau @acceleo
+stephane.begaudeau
The Acceleo tooling
www.obeodesigner.com
www.eclipse.org/acceleo
www.obeonetwork.com
Incremental improvements
Let your users influence the generation
quick replacement
extract as template/query
as for/if
basic integration
easily customizable
contribute to an existing generator
without any modifications to the original generator
Managing the generated code
Overriding
Protected Areas
JMerge
If the language of the generated code allow overriding, use it!
Define in the generator, to let your user safely change the code
Documentation tags supported by Acceleo for Java
protect or not the commented element
Generator
relaunch the generation of a selected set of files
Related Files view
Shameless promotion
The Acceleo interpreter will be detailled during the modeling symposium
Stéphane Bégaudeau, committer on Acceleo

Loading comments...

Please log in to add your comment.

Report abuse

More presentations by Stephane Begaudeau