[Acceleo] .mtl or .emtl? [message #753952] |
Mon, 31 October 2011 07:10 |
|
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 |
|
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
|
|
|
Re: [Acceleo] .mtl or .emtl? [message #757873 is a reply to message #754750] |
Sat, 19 November 2011 17:29 |
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03134 seconds