|[xPand]template doesn't recognise metamodel data [message #580289]
||Thu, 19 April 2007 02:52
| Chetan Kumar
Registered: July 2009
I have a problem in writing xPand template. The situation is as follows:
1. i have a model (emf meta model) in a plugin.
2. i have an oAW plugin which has the workflow and templates
3. model plugin is added as a dependancy to the oAW plugin.
Now when I try to write template based on my emf meta model, xPand editor
shows the following errors: "Couldn't find Company", "unknown enumeration
literal or ... ". the template looks like so:
«DEFINE Root FOR Company»
«EXPAND expandProject FOR project»
«DEFINE expandEcu FOR Project»
«EXPAND expandEmp FOREACH employee»
i tried to ignore the errors and ran the workflow, then i got the
workflow-description on line 1 'EXPAND template::Root::Root FOR model'
org.openarchitectureware.expression.EvaluationException: No Definition
'template::Root::Root for com.project.company::Company' found! in
in properties of the oAW plugin, EMF Meta model is checked. I tried
reloading the workbench, but still problem persists. Can anyone help me
out on this.
Chetan Kumar and Sandeepthi
Powered by FUDForum
. Page generated in 0.01783 seconds