Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » Example Hello World - Acceleo - M2T(Acceleo - Indigo - M2T - Acceleo.txt)
Example Hello World - Acceleo - M2T [message #872752] Wed, 16 May 2012 14:46 Go to next message
Eclipse UserFriend
Hi,

I'm making an example "hello world" and I can not generate the file "Acceleo.txt". I get this error:
" The generation fail to generate any file because there are no model elements that matches at least the type of the first parameter of one of your main templates. The problem may be caused by a problem with the registration of your metamodel, please see the method named "registerPackages" in the Java launcher of your generator"

The example I'm doing this in Indigo Help - Acceleo Model To Text Transformation Language (MTL) > User Guide.


I think the problem is I have not registered the metamodel, but not how.

Thanks,
Jose
Re: Example Hello World - Acceleo - M2T [message #872772 is a reply to message #872752] Wed, 16 May 2012 15:42 Go to previous messageGo to next message
Eclipse UserFriend
Hello, you solve it. The problem was to place the correct metamodel in .mtl.

Now, I have the same problem when I have my own metamodel, not as a register to generate the transformation.

Thanks again,
Jose
Re: Example Hello World - Acceleo - M2T [message #872813 is a reply to message #872772] Wed, 16 May 2012 17:48 Go to previous messageGo to next message
Eclipse UserFriend
Jose Texier a écrit :
> Hello, you solve it. The problem was to place the correct metamodel in
> .mtl.
>
> Now, I have the same problem when I have my own metamodel, not as a
> register to generate the transformation.
>
Is this a closed issue, or another problem where you request assistance ?
Re: Example Hello World - Acceleo - M2T [message #873052 is a reply to message #872813] Thu, 17 May 2012 08:15 Go to previous message
Eclipse UserFriend
Hi, this is another problem where you request assistance?

So, I'll open another topic?

Thanks
Previous Topic:[Acceleo] How to change the editor colours
Next Topic:XML input to ecore
Goto Forum:
  


Current Time: Thu Jul 24 19:29:32 EDT 2025

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

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

Back to the top