Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] main.emtl not found after deploying plugins
[Acceleo] main.emtl not found after deploying plugins [message #1423915] Mon, 15 September 2014 03:04 Go to next message
Eclipse UserFriend
Hi,

I created a statemachine code generator in Acceleo that works whenever invoked from a run configuration.

Then I tried to export it using the export wizard using "deployable plugins and fragments" Restarting eclipse and trying to invoke the generator results in an error message: main.emtl not found.

Looking in the exported jar files shows that the main.mtl is there. Do I need to do something special in order to get the emtl also exported?

For the record: I'm using the Luna release with Acceleo 3.5.0.201406101309.

Greetings,
Wilbert.

[Updated on: Mon, 15 September 2014 04:34] by Moderator

Re: [Acceleo] main.emtl not found after deploying plugins [message #1424062 is a reply to message #1423915] Mon, 15 September 2014 07:51 Go to previous messageGo to next message
Eclipse UserFriend
I think I solved it.

For some reason, the project (wich I newly created with eclipse Luna using the New Acceleo project wizard) did not generate a build.acceleo file.

I copied one from an old workspace and modified build.properties such that it contains a: "customBuildCallbacks = build.acceleo" line and now the emtl is added to the exported jars.

I will raise a bugzilla on this.

Wilbert
Re: [Acceleo] main.emtl not found after deploying plugins [message #1424616 is a reply to message #1424062] Tue, 16 September 2014 03:22 Go to previous messageGo to next message
Eclipse UserFriend
Bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=444209
Re: [Acceleo] main.emtl not found after deploying plugins [message #1435399 is a reply to message #1424616] Wed, 01 October 2014 08:43 Go to previous message
Eclipse UserFriend
Hi,

The only currently supported way to build your Acceleo generator is to use a maven/tycho based build. While what you have done may work, it has now been deprecated and it is not maintained anymore. You can find the documentation of the maven based build on the Eclipse Wiki and an example here.

Regards,

Stephane Begaudeau, Obeo
Previous Topic:[Acceleo] How to retrieve all attributes from inheritance tree
Next Topic:Acceleo maven plugin 3.5 does not compile mtl fieles with 'uml2/5.0.0/UML'
Goto Forum:
  


Current Time: Wed Apr 23 00:20:30 EDT 2025

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

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

Back to the top