Questions tagged [acceleo]

Acceleo is a code generator transforming models into code (MDA approach). See "about the Acceleo tag" for initial help.

Acceleo is a code generator transforming models into code (following the Model-Driven Approach). It is part of the Eclipse foundation, and distributed as part of its annual release train since Eclipse Ganymede (version 3.4).

All of the Acceleo documentation can be found on the Eclipse Help Center.

156 questions
7
votes
1 answer

Standalone Acceleo Generator

I need to develope a standalone Acceleo generator but I don't know hot to start. I've done my generator inside my Acceleo Project. The Acceleo Project contains the generate.mtl file, the Generate.java file, and the Activator.java file. What I have…
By-tor
  • 111
  • 1
  • 5
5
votes
4 answers

Eclipse: Getting null display

I am trying to pop up a dialog (i.e. a FileDialog) in an Eclipse Plugin, actually before of an Acceleo transformation I am running through the related UI Launcher project (http://lowcoupling.com/post/51877317162/the-acceleo-ui-launcher-project) I…
lowcoupling
  • 2,151
  • 6
  • 35
  • 53
4
votes
2 answers

Acceleo transformation using a custom ecore metamodel

First of all , i am new to the modeling features of eclipse, so the question may be trivial, but i am searching for days and haven't found an answer. I have created an ecore metamodel file with an ecore modeling project. The URI is this :…
odyd
  • 194
  • 1
  • 2
  • 13
4
votes
2 answers

Type field of Property not filled in for UML PrimitiveType in Xpand

I have an XPT template that generates text from a UML model. This is the excerpt I use on the attributes of a class «FOREACH attribute AS a» Id: «a.name» Type: «a.type.name» «ENDFOREACH» All works well as long as the type is a class from…
allprog
  • 16,540
  • 9
  • 56
  • 97
3
votes
1 answer

Reference Ecore model path of a different Ecore model

Here is my problem> We currently have several Ecore models for our applications. One of the Ecore models (mainModel.ecore) has stuff that is common in all the rest of the models. So, what i want to do is have all the other models reference the…
prolink007
  • 33,872
  • 24
  • 117
  • 185
3
votes
0 answers

Acceleo Builder error since eclipse 2018-12 update

since Eclipse update to 2018-12 I can't build any Acceleo project with Query. I use Acceleo 3.7.7 and update EMF to nigthly version to solves this issue : https://bugs.eclipse.org/bugs/show_bug.cgi?id=543103 for example i get error like this :…
flagadajones
  • 329
  • 3
  • 12
3
votes
0 answers

Run Acceleo from Windows command line using Maven

We are using Eclipse Indigo, Acceleo 3.1.3, Maven 3.0.3. We have a large Acceleo code generation project in Eclipse that we run successfully. We need to now run that same project via command line from a Maven project so that the code generation step…
Joy Patra
  • 722
  • 7
  • 9
3
votes
1 answer

Error creating Acceleo plugin: failed to create task or type apitooling.apigeneration

I am trying to create an Acceleo plugin from existing projects and always get back this error message: 'Export Plug-ins' has encountered a…
Luís de Sousa
  • 5,765
  • 11
  • 49
  • 86
3
votes
0 answers

Acceleo: ecore to Python generator not working

I started to work with Acceleo for some weeks ago. I have a problem, when I try to start the example ecore-to-python-generator described here: (http://www.acceleo.org/pages/ecore-to-python-generator/en). Because this generator isn't available in the…
deemon
  • 133
  • 1
  • 6
3
votes
2 answers

Acceleo maven generation multi artifact/project

I am trying to construct a maven acceleo generator. The generator consists of multiple acceleo projects (artifacts in maven), with inter-dependencies. I am running into a problem with the dependencies between emtl files. At runtime, I get errors…
user2228895
  • 167
  • 7
2
votes
2 answers

Acceleo standalone generation

I also need to generate outside eclipse and i didn't figured out how to do it. I've read this thread but I have another problem to overcome first : I'm unable to start the main ! I tried different ways : export the project as standalone, put the…
Fericelli
  • 320
  • 3
  • 9
2
votes
5 answers

What is the difference between Acceleo and Xpand?

I have a DSL which is based on a custom metamodel, which in its turn is based on EMF/Ecore. I am trying to figure out which solution to choose, and I cant find any decent comparisons anywhere. Does anyone have any reasons why I should choose one…
anders
  • 772
  • 1
  • 10
  • 17
2
votes
1 answer

I don't have module launcher tag in Acceleo in Eclipse

I am using Eclipse version 3.6.2, and I have installed Acceleo plugin for it but according to the instructions and tutorials I have read, I should be having module launcher under Acceleo tag in 'New' menu but I don't have it. I tried to install the…
Daniel
  • 33
  • 7
2
votes
1 answer

problem with using annotations in acceleo

Im very new to acceleo, for text generation(for java language) i'm using ecore file and .mtl module. in my application there is a need of annotations, so I declared annotations in my ecore model. but the problem is i'm unable to check if condition…
Rams
  • 2,141
  • 5
  • 33
  • 59
2
votes
0 answers

An internal error occurred during: "Acceleo" on fresh install

After fresh Eclipse install (Windows 10, 64bit, JRE 1.8.0_181-b13) I installed Acceleo 3.7.7.201812041426. But after creating new project (2002/ecore with "Generate file" and "Main template") it fails creating sceleton mtl and java files with…
tJeyhun
  • 195
  • 1
  • 9
1
2 3
10 11