[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2t] Re: [MTL] the emtl-file

Hi Siegfried,

As Guillaume found out, the emtl file is a compiled version of the .mtl template. This is the file that's used by the engine for the generation, the .mtl being no more than the source.

It sometime happens for this file to be missing when the java builder decided to delete everything contained within the "bin" folder; it does it on a regular basis. You will then need to either force a save of your mtl file or use Project => clean... => <your mtl project(s)> for the emtl files to be compiled anew. This has been fixed in the 0.8 version, which you should obviously use to avoid a fair number of issues.

The absence of the builder most probably comes from your using version 0.7 as well.

Laurent Goubet
Obeo

Siegfried a Ãcrit :
As far as I found out, I don't need this buildCommand. Sorry Guillaume. My case is a bit tricky, I've got a workaround now, yet no solution:
First of all let's change to the MTL-perspective (I'm not sure, whether I've worked with it all the time, and I'm not sure whether I need to.)
So editing and saving syntactivally correct mtl-files will deliver a emtl-file somehow. Somehow I happend to get no emtl-file. I don't know why. Maybe the MTL-perspective. Though this leads to a modification of the tasks/generate.xml (ant-file) as well - a reset to the former values. My editing this file (ECCLIPSE_HOME and ECLIPSE_WORKSPACE) has been gone. That leads to a ant-build error:
generate:
[java] java.lang.NoClassDefFoundError: org/eclipse/emf/ecore/resource/ResourceSet
Maybe it's a bit more elegant to start this transformation as Java application. Anyway thanks for help,
Siegfried

begin:vcard
fn:Laurent Goubet
n:Goubet;Laurent
org:<a href="http://www.obeo.fr/";>Obeo</a>
email;internet:laurent.goubet@xxxxxxx
url:http://www.obeo.fr
version:2.1
end:vcard