|
|
|
Re: [Acceleo 3.1] Problem launching transformation [message #707100 is a reply to message #704118] |
Mon, 01 August 2011 04:40   |
Eclipse User |
|
|
|
Hi,
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). [module tdmodel('tdmodel')] 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).)
Laurent Goubet
Obeo
[Updated on: Mon, 01 August 2011 04:41] by Moderator
|
|
|
Re: [Acceleo 3.1] Problem launching transformation [message #708845 is a reply to message #707100] |
Wed, 03 August 2011 04:07  |
Eclipse User |
|
|
|
Hi laurent!
Thanks for reply!
So, actually it's working : the NsURI is the same for the metamodel and for the module. Morevover, I had to put the compiler properties to "Binary". I don't really get the differences but now it's working with a "Run configuration".
Thanks again for help!!
[Updated on: Wed, 03 August 2011 09:16] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04284 seconds