|
|
|
|
Re: XPand workflow problem [message #63842 is a reply to message #63354] |
Tue, 07 July 2009 20:32 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
|
Hi Durga!
You are specifying
<expand value="templates::Template::def_outer FOR NamedEntity"/>
after FOR you name a type name, but Xpand expects an object of that
type. After FOR follows usually the name of the output slot in which a
reader component, here MweReader, writes. By default this is 'model'. So try
<expand value="templates::Template::def_outer FOR model"/>
~Karsten
Need professional support for Xtext, EMF, Eclipse IDE?
Go to: http://devhub.karakun.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
|
|
|
Re: XPand workflow problem [message #63865 is a reply to message #63497] |
Wed, 08 July 2009 01:54 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
|
Hi Durga!
On 02.07.09 13:13, Durga Prasana Sahoo wrote:
Your expand value is
<expand value="templates::Template::defn_PrimitiveDataType FOR model"/>
but the error message is
> No Definition 'Template::defn_PrimitiveDataType for datatypes::PrimitiveDataType' found!
Also the log message says
> Generator: generating 'Template::defn_PrimitiveDataType FOR model' => []
This contradicts. I think you did not post the correct workflow. From what I read from the console output the package qualifier 'template::' is
missing in your expand value.
<expand value="templates::Template::defn_PrimitiveDataType FOR model"/>
Is just fine, and console log should print:
Generator: generating 'templates::Template::defn_PrimitiveDataType FOR model' => []
Kind regards,
~Karsten
Need professional support for Xtext, EMF, Eclipse IDE?
Go to: http://devhub.karakun.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07169 seconds