|
|
|
|
|
|
|
|
|
|
|
Re: Acceleo UI plugin doesn't generate anything [message #1737023 is a reply to message #1736866] |
Tue, 05 July 2016 07:44 |
|
Hi,
Acceleo searching for the "emtl" file is normal, that's the way it's supposed to be. The template is a "mtl" file, the compiled form has the "emtl" extension. You say you're using an UI project. Are you trying to run it from a runtime eclipse (you have a first eclipse that contains your project, you launched an "eclipse application" from there and are using the UI generator project from that second eclipse), or did you build the UI and generator projects then installed them in your eclipse? If it's that second case, how did you build the projects? Can you describe your process?
Laurent Goubet
Obeo
|
|
|
|
|
Re: Acceleo UI plugin doesn't generate anything [message #1744945 is a reply to message #1744868] |
Mon, 03 October 2016 08:11 |
|
Patrik,
The emtl "are" placed correctly : the "mtl" file is your template, the "emtl" is the compiled form of it. Just as you don't see the ".class" compiled java files beside your ".java" ones, the template is the source, and the compiled form is placed in the bin folder.
As long as you're using an UI project to start your generation you shouldn't have any issues on that point. Issues will arise if you're trying to export the generators as .jar without using maven to compile the acceleo templates since the eclipse pde builder causes issues with the compiled emtl files (namely, it doesn't include it in the exported jars). I'd have to know how you're starting your generation, how you're compiling the templates and how you're exporting them as jar if you do to help on that aspect.
Laurent Goubet
Obeo
|
|
|
|
Re: Acceleo UI plugin doesn't generate anything [message #1745107 is a reply to message #1744953] |
Wed, 05 October 2016 09:38 |
|
Hi,
Yes, this is the kind of issues I mentionned, since your "deployed" modules are likely built through the pde builder which doesn't consider the emtl files for export and thus won't include them in the exported jars. Copying the emtl files in the src folder is indeed a workaround for that, albeit ugly . You can find more information about the maven tasks to build and deploy acceleo plugins on the wiki.
Laurent Goubet
Obeo
|
|
|
Powered by
FUDForum. Page generated in 0.05468 seconds