We want you to be able to create the code that you need from your UML models. That’s why we’re thrilled to introduce the first version of our custom code generator.
What is it?
We’ve just released a beta version for custom code generators in GenMyModel. It allows you to use your own Acceleo template and generate code from your UML models.
How does it work?
Custom code generators in GenMyModel use Acceleo. Acceleo is a template-oriented code generator based on MTL syntax. It takes models as inputs and produces any kind of code.
To use your own Acceleo template, here’s what you need:
* having this template hosted on Github
When configuring your template in GenMyModel, it is downloaded from Github and prepared so that you can generate code right from your diagrams:
1. Sign in to GenMyModel
2. Open the custom generator console and create a new generator
3. Paste the Github URL of your repository: Example: https://github.com/aranega/customgen-template.git
4. Launch and get the archive with the generated file
Take a look at our quick start guide to learn more.
We’d love for you to test it out and let us know what you think!
And of course, if you have any questions or need help, leave us a comment or send us a message.