Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [SOLVED, Xpand] Problem with EXPAND in template definition
icon5.gif  [SOLVED, Xpand] Problem with EXPAND in template definition [message #1123206] Wed, 02 October 2013 06:03 Go to next message
Davide G is currently offline Davide G
Messages: 28
Registered: October 2013
Junior Member
Hi, i'm encountering this error while trying to make a sample m2t transformation project (i'm a newbie...). The metamodel, model and template files are attached to this post (files contain website links and i didn't post 5 times yet Rolling Eyes ). The problem is in the template definition. This is what i get:


"Couldn't find definition Field for type metamodel::Field"

Someone can help me?
  • Attachment: metamodel.txt
    (Size: 1.82KB, Downloaded 61 times)
  • Attachment: Model.xmi
    (Size: 0.75KB, Downloaded 31 times)
  • Attachment: Template.xpt
    (Size: 0.88KB, Downloaded 28 times)

[Updated on: Thu, 03 October 2013 05:06]

Report message to a moderator

Re: [Xpand] Problem with EXPAND in template definition [message #1124177 is a reply to message #1123206] Thu, 03 October 2013 05:05 Go to previous messageGo to next message
Davide G is currently offline Davide G
Messages: 28
Registered: October 2013
Junior Member
Solved, there was a missing DEFINE block:

«DEFINE Field FOR Field»
...
«ENDDEFINE»

Laughing
Re: [Xpand] Problem with EXPAND in template definition [message #1369421 is a reply to message #1124177] Tue, 20 May 2014 11:26 Go to previous message
ibti belle is currently offline ibti belle
Messages: 1
Registered: May 2014
Junior Member
can you help me, i've a project with xpand, give me you email , mine is ibtibelle@yahoo.fr
Previous Topic:[Acceleo]Validate metamodel specifications in the protected areas
Next Topic:[Acceleo]Can't generate java file from UML using Acceleo in Eclipse
Goto Forum:
  


Current Time: Fri Jul 25 21:07:16 EDT 2014

Powered by FUDForum. Page generated in 0.01899 seconds