|Re: [Acceleo 3.1] Problem launching transformation [message #707100 is a reply to message #704118]
||Mon, 01 August 2011 08:40
|| Laurent Goubet
Registered: July 2009
First things first, no, it is not a good way to register metamodels through the ATL popup menu. That being said, it is indeed the only way to do it since it is not something EMF recommends.
Second, generating from an xmi file is supported . Whatever the extension of your file (even if it has no extension), as long as it is a model that can be loaded with EMF, it is supported by Acceleo.
As for the error you have, "the type [...] is a proxy" indeed spans from the metamodel being unknown to Acceleo (or, more generally, to Eclipse).
means that you have in that Eclipse a metamodel going by the NsURI "tdmodel". It also means that in the generated Acceleo launcher, you have to register that same metamodel through code if it is not pluginized. (See also what Joachim has done with the "registerPackages" method of that class and my answer to his problem (which is the same has your BTW).)
[Updated on: Mon, 01 August 2011 08:41]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01664 seconds