Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] *.emtl files missing when building updatesite(*.emtl files missing when building updatesite)
[Acceleo] *.emtl files missing when building updatesite [message #774722] Wed, 04 January 2012 08:30 Go to next message
Eclipse UserFriend
Hi everyone,

I face the following problem:
When I build (or clean/rebuild) my plug-in project (with Acceleo nature and builder), the bin folder contains the *.emtl files as expected.

However, when I build the plug-in (via its feature) in an update site project, the created jar contains only *.mtl files (in addition to the Java classes) and the *.emtl files are missing.

Any suggestions?

Thanks,
Ingo

[Updated on: Wed, 04 January 2012 08:32] by Moderator

Re: [Acceleo] *.emtl files missing when building updatesite [message #775053 is a reply to message #774722] Thu, 05 January 2012 03:17 Go to previous messageGo to next message
Eclipse UserFriend
... by the way: The *.emtl files are missing, too, when I export only the plug-in via Export->Plug-ins/Deployable Features...
Re: [Acceleo] *.emtl files missing when building updatesite [message #775070 is a reply to message #775053] Thu, 05 January 2012 04:01 Go to previous messageGo to next message
Eclipse UserFriend
Hi

IMHO The Acceleo 3.2 builder is unuseable because it frequently doesn't
build (https://bugs.eclipse.org/bugs/show_bug.cgi?id=363651)

For the MDT/OCL code generator, I therefore use Acceleo 3.1.2, and once
I am happy with the *.emtl files, I copy them from the bin tree to a
secondary Java src2 tree, remove the Acceleo nature and builder and the
customCallbacks in build.properties. This ensures that only the Java
builder is in use and it copies the *.emtl from src2 to bin, just as the
Acceleo builder might have done if it executed. This approach also
allows/requires the *.emtl to be put under configuration management,
where using the ASCII form you can check on what is changing.

Regards

Ed Willink

On 05/01/2012 08:17, Ingo Mohr wrote:
> .. by the way: The *.emtl files are missing, too, when I export only
> the plug-in via Export->Plug-ins/Deployable Features...
Re: [Acceleo] *.emtl files missing when building updatesite [message #775405 is a reply to message #775070] Thu, 05 January 2012 18:08 Go to previous message
Eclipse UserFriend
Hey Ed,

thanks for your hint. I think 'll try that as workaround.
Previous Topic:[Xpand] Generating multiple times to the same file
Next Topic:[XPAND] Casting possibilities
Goto Forum:
  


Current Time: Mon Jul 07 00:10:35 EDT 2025

Powered by FUDForum. Page generated in 0.11788 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top