Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] .mtl or .emtl?
[Acceleo] .mtl or .emtl? [message #753952] Mon, 31 October 2011 07:10 Go to next message
Harri T. is currently offline Harri T.Friend
Messages: 22
Registered: May 2011
Junior Member

Hi

For some reason I can't generate Java classes from a UML model anymore. I have generateJava.mtl (not .emtl) and this far it's been working ok. Now launching Acceleo run configuration in Eclipse does nothing and the error below is dumped into workspace/.metadata/.log.

What should I do to get Acceleo working again?

Harri

!ENTRY org.eclipse.acceleo.ide.ui 4 0 2011-10-31 08:59:45.145
!MESSAGE '/myacceleo/generateJava.emtl' not found
!STACK 0
java.io.IOException: '/myacceleo/generateJava.emtl' not found
at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator.initialize(AbstractAcceleoGenerator.java:437)
at org.eclipse.acceleo.ide.ui.launching.strategy.AcceleoLaunchOperation.run(AcceleoLaunchOperation.java:123)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2326)
at org.eclipse.acceleo.ide.ui.launching.strategy.AcceleoPluginLaunchingStrategy.launch(AcceleoPluginLaunchingStrategy.java:225)
at org.eclipse.acceleo.ide.ui.launching.strategy.AcceleoPluginLaunchingStrategy.launch(AcceleoPluginLaunchingStrategy.java:128)
at org.eclipse.acceleo.internal.ide.ui.launching.AcceleoLaunchDelegate.launch(AcceleoLaunchDelegate.java:51)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Re: [Acceleo] .mtl or .emtl? [message #754750 is a reply to message #753952] Fri, 04 November 2011 07:59 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
Hi Harri,

".mtl" files are the Acceleo modules as you type them, ".emtl" are the compiled couterparts of these files which Acceleo works with. You should never have to worry about ".emtl" resources : Acceleo compiles them itself and they are not in a folder you should look into Wink (bin folder).

The error message you get is a symptom of Acceleo not being able to compile the module you try and launch. Do you have the automatic build activated (Project > build automatically)? Is your "mtl" module in a source folder? Is your project an Acceleo project? Does it work when you force a build (project > clean, select "clean all")?

Laurent Goubet
Obeo
Re: [Acceleo] .mtl or .emtl? [message #757873 is a reply to message #754750] Sat, 19 November 2011 17:29 Go to previous message
Harri T. is currently offline Harri T.Friend
Messages: 22
Registered: May 2011
Junior Member

Hi Laurent

Cleaning the project having .mtl helped. Thanks!

Harri

On 4.11.2011 9:59 Laurent Goubet wrote:
> Hi Harri,
>
> ".mtl" files are the Acceleo modules as you type them, ".emtl" are the compiled couterparts of these files which Acceleo works with. You should never have to worry about ".emtl" resources : Acceleo compiles them itself and they are not in a folder you should look into ;) (bin folder).
>
> The error message you get is a symptom of Acceleo not being able to compile the module you try and launch. Do you have the automatic build activated (Project > build automatically)? Is your "mtl" module in a source folder? Is your project an Acceleo project? Does it work when you force a build (project > clean, select "clean all")?
>
> Laurent Goubet
> Obeo
Previous Topic:Java Model Exception when executing Xtend functions
Next Topic:Beginner needs a helping hand either on jet or acceleo to process ecore model
Goto Forum:
  


Current Time: Thu Apr 25 06:43:20 GMT 2024

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

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

Back to the top