Hi, i m brazilian guy. so sorry my english!

i m student and work with MDA. i want know if acceleo can create package with acceleo? like app.entity and app.entityDAO...

Posted on in Blog

Acceleo can create the output folders of the generation. You can say that you will generate in a folder named “src” and Acceleo can create from there the folders “src/com/tumblr/desbravo/my/java/project/MyClass.java”

In order to do that, you just have to change the file block from

to

You can also call a template in the file block like this:

If you want to know more about Acceleo, you can watch the examples (File -> New -> Example -> Acceleo Model to Text). We have several examples like UML to Java or Ecore to Python. I hope that those informations will help you for your project.

Auteur d'origine: sbegaudeau