Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [XPAND] Problems with getting started
[XPAND] Problems with getting started [message #552017] Tue, 10 August 2010 14:33 Go to next message
Yvette is currently offline YvetteFriend
Messages: 13
Registered: May 2010
Junior Member
Problems with getting started

I just started with xpand and text generation and I don't know where to start. I created a new Xpand Project and checked the "Create sample button" box. As a result I got a project with a metamodel and transformations. When I right click on the generator.mwe and run it as workflow. I get the following error message.

10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner prepare
INFO: --------------------------------------------------------------------------------------
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner prepare
INFO: EMF Modeling Workflow Engine 0.7.2, Build v200908120417
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner prepare
INFO: (c) 2005-2009 openarchitectureware.org and contributors
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner prepare
INFO: --------------------------------------------------------------------------------------
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner prepare
INFO: running workflow: C:/Dokumente und Einstellungen/myUserName/workspace/my.generator.project/src/workflow/generator.mwe
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner prepare
INFO: 
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner logIssues
SCHWERWIEGEND: [ERROR]: Class not found: 'org.eclipse.mwe.emf.StandaloneSetup'(Element: bean bean class='org.eclipse.mwe.emf.StandaloneSetup' in C:/Dokumente und Einstellungen/myUserName/workspace/my.generator.project/src/workflow/generator.mwe:7; Reported by: -UNKNOWN-)
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner logIssues
SCHWERWIEGEND: [ERROR]: No getter or adder method for property 'platformUri' in clazz 'java.lang.Object' found.(Element: platformUri='..' in C:/Dokumente und Einstellungen/myUserName/workspace/my.generator.project/src/workflow/generator.mwe:8; Reported by: -UNKNOWN-)
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner logIssues
SCHWERWIEGEND: [ERROR]: Class not found: 'org.eclipse.mwe.emf.Reader'(Element: bean component class='org.eclipse.mwe.emf.Reader' in C:/Dokumente und Einstellungen/myUserName/workspace/my.generator.project/src/workflow/generator.mwe:12; Reported by: -UNKNOWN-)
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner logIssues
SCHWERWIEGEND: [ERROR]: No getter or adder method for property 'uri' in clazz 'org.eclipse.emf.mwe.core.WorkflowComponent' found.(Element: uri='platform:/resource/my.generator.project/src/Model.xmi' in C:/Dokumente und Einstellungen/myUserName/workspace/my.generator.project/src/workflow/generator.mwe:13; Reported by: -UNKNOWN-)
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner logIssues
SCHWERWIEGEND: [ERROR]: No getter or adder method for property 'modelSlot' in clazz 'org.eclipse.emf.mwe.core.WorkflowComponent' found.(Element: modelSlot='model' in C:/Dokumente und Einstellungen/myUserName/workspace/my.generator.project/src/workflow/generator.mwe:14; Reported by: -UNKNOWN-)
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner logIssues
SCHWERWIEGEND: [ERROR]: Class not found: 'org.eclipse.m2t.type.emf.EmfRegistryMetaModel'(Element: bean metaModel class='org.eclipse.m2t.type.emf.EmfRegistryMetaModel' id='mm' in C:/Dokumente und Einstellungen/myUserName/workspace/my.generator.project/src/workflow/generator.mwe:20; Reported by: -UNKNOWN-)
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner logIssues
SCHWERWIEGEND: [ERROR]: Class not found: 'org.eclipse.xtend.xpand2.Generator'(Element: bean component class='org.eclipse.xtend.xpand2.Generator' in C:/Dokumente und Einstellungen/myUserName/workspace/my.generator.project/src/workflow/generator.mwe:26; Reported by: -UNKNOWN-)
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner logIssues
SCHWERWIEGEND: [ERROR]: No setter or adder method for property 'metaModel' in clazz 'org.eclipse.emf.mwe.core.WorkflowComponent' found(Element: <metaModel idRef='mm'/> in C:/Dokumente und Einstellungen/myUserName/workspace/my.generator.project/src/workflow/generator.mwe:27; Reported by: -UNKNOWN-)
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner logIssues
SCHWERWIEGEND: [ERROR]: No getter or adder method for property 'expand' in clazz 'org.eclipse.emf.mwe.core.WorkflowComponent' found.(Element: expand='template::Template::main FOR model' in C:/Dokumente und Einstellungen/myUserName/workspace/my.generator.project/src/workflow/generator.mwe:29; Reported by: -UNKNOWN-)
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner logIssues
SCHWERWIEGEND: [ERROR]: No getter or adder method for property 'outlet' in clazz 'org.eclipse.emf.mwe.core.WorkflowComponent' found. Forgot to customize?(Element: bean outlet in C:/Dokumente und Einstellungen/myUserName/workspace/my.generator.project/src/workflow/generator.mwe:30; Reported by: -UNKNOWN-)
10.08.2010 16:16:11 org.eclipse.emf.mwe.core.WorkflowRunner prepare
SCHWERWIEGEND: Workflow interrupted because of configuration errors.




I think there is something wrong with the workflow configuration, but what? Can anybody help me? Or just send me the link to the working tutorial: "Getting started with xtend for dummies!"

Thank you verry much!
yvette
Re: [XPAND] Problems with getting started [message #552030 is a reply to message #552017] Tue, 10 August 2010 15:09 Go to previous messageGo to next message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 6549
Registered: July 2009
Senior Member
hello yvette

you are using xpand 0.7.2 right? then it is a bug in the wizard and you find the solution here: http://www.eclipse.org/forums/index.php?t=msg&goto=48953 1&

Regards
Christian
Re: [XPAND] Problems with getting started [message #552037 is a reply to message #552030] Tue, 10 August 2010 15:21 Go to previous message
Yvette is currently offline YvetteFriend
Messages: 13
Registered: May 2010
Junior Member
Yes, that works! Thank you verry much!!
Previous Topic:[Xpand2] Looping (for loop / do while loop / while loop)
Next Topic:[Xpand] Multiple meta models and ClassCastException
Goto Forum:
  


Current Time: Fri Dec 19 15:15:36 GMT 2014

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

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