Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Acceleo with my Metamodel(An internal error occurred during: "Launching Generate (1)")
Acceleo with my Metamodel [message #875331] Tue, 22 May 2012 14:35 Go to next message
Jose Texier is currently offline Jose TexierFriend
Messages: 5
Registered: May 2012
Junior Member
Hi,

I'm trying to do the hello world example (in Eclipse Indigo and Acceleo 3.1.3) with my Metamodel, but I have this error when I compile:
"An internal error occurred during: "Launching Generate (1)". The type of the first parameter of the main template named 'generateElement' is a proxy."

Someone can guide me?

My code is:
[comment encoding = UTF-8 /]
[module generate('sedici.SimpleRDBMS')]

[template public generateElement(aTable : Table)]
[comment @main/]
[file (aTable.name + 'txt', false, 'UTF-8')]
Hello world!
[/file]
[/template]

Thank you very much,
Jose
Re: Acceleo with my Metamodel [message #875495 is a reply to message #875331] Tue, 22 May 2012 21:12 Go to previous message
Jose Texier is currently offline Jose TexierFriend
Messages: 5
Registered: May 2012
Junior Member
I solved it already, I went back to generate the code and I closed the other projects.

Thanks,
Jose
Previous Topic:[Acceleo] 'Acceleo Builder' Errors
Next Topic:ATL collection and Iteration error?
Goto Forum:
  


Current Time: Wed Nov 26 09:12:09 GMT 2014

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

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