Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:30 Go to next message
Ingo Mohr is currently offline Ingo MohrFriend
Messages: 23
Registered: September 2011
Junior Member
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 13:32]

Report message to a moderator

Re: [Acceleo] *.emtl files missing when building updatesite [message #775053 is a reply to message #774722] Thu, 05 January 2012 08:17 Go to previous messageGo to next message
Ingo Mohr is currently offline Ingo MohrFriend
Messages: 23
Registered: September 2011
Junior Member
... 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 09:01 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
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 23:08 Go to previous message
Ingo Mohr is currently offline Ingo MohrFriend
Messages: 23
Registered: September 2011
Junior Member
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: Thu Mar 28 15:06:11 GMT 2024

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

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

Back to the top