[Acceleo] PDE and EMTL [message #689649] |
Tue, 28 June 2011 01:07  |
Eclipse User |
|
|
|
Hi,
Using Eclipse Indigo (3.7.0) with Acceleo 3.1.0, I got a problem while trying to export my Acceleo plugins. The produced plugins do not contain the expected EMTL files, which generates errors at runtime.The behavior is the same using either the "export deployable plugins" Eclipse command or the headless build.
Just note that the behavior in 3.6.0 was not the same (not sure for 3.6.1 and 3.6.2). I also succeeded in reproducing the same behavior by using a fresh install of the Eclipse product with a fresh new acceleo project using a public available URI (Ecore).
Looking at what is generated through PDE build ant task, it seems that an EMTL file is actually generated just besides the build directory (@dot) as a "@dot.emtl" file, which may explain why it is not finally present in the generated plugin.
By having a quick look at the AcceleoCompiler Task code (computeFileInfos method in AcceleoCompilerHelper), it seems that the previous (normal?) behavior can be obtained by setting an output folder equals to the source folder (outputFolder="${target.folder}") in the task defined in the "build.acceleo" file. However, I am not sure this is one of the best practices.
So, my question(s): what is the "normal" behavior expected with Acceleo 3.1.0 regarding the plugin export? did I do something wrong?
|
|
|
|
|
Re: [Acceleo] PDE and EMTL [message #1701407 is a reply to message #689649] |
Mon, 13 July 2015 05:18  |
Eclipse User |
|
|
|
I'm having the same error right now, using Luna Service Release 2 (4.4.2). The exported plug-ins do not contain the .emtl files. The binary folder of the eclipse project contains the .emtl files, but they are not exported.
|
|
|
Powered by
FUDForum. Page generated in 0.05010 seconds