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: 20
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 55 times)
  • Attachment: Model.xmi
    (Size: 0.75KB, Downloaded 25 times)
  • Attachment: Template.xpt
    (Size: 0.88KB, Downloaded 21 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 message
Davide G is currently offline Davide G
Messages: 20
Registered: October 2013
Junior Member
Solved, there was a missing DEFINE block:

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

Laughing
Previous Topic:[Acceleo] Get the target generation path on Modules
Next Topic:JET2 Auto-Import Tag Library
Goto Forum:
  


Current Time: Thu Apr 17 05:51:20 EDT 2014

Powered by FUDForum. Page generated in 0.02695 seconds