Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Workflow configuration error - classes not found
Workflow configuration error - classes not found [message #921048] Sun, 23 September 2012 19:28 Go to next message
Yasser Khan is currently offline Yasser KhanFriend
Messages: 18
Registered: October 2011
Junior Member
What is wrong with my workflow definition :

<?xml version="1.0"?>
<workflow>
<!-- set up EMF for standalone execution -->
<bean class="org.eclipse.emf.mwe.utils.StandaloneSetup" platformUri=".." />

<!-- prepare for performing uml -->
<bean class="org.eclipse.xtend.typesystem.uml2.Setup" standardUML2Setup="true" />

<!--UML2 Profile - Metamodell-->
<bean id="mm_profile" class="org.eclipse.xtend.typesystem.uml2.profile.ProfileMetaModel">
<profile value="platform:/resource/xpand.uml2.generator/src/test.profile.uml"/>
</bean>

<!-- load model and store it in slot 'model' -->
<component class="org.eclipse.emf.mwe.utils.Reader">
<uri value="platform:/resource/xpand.uml2.generator/src/example-profiled.uml" />
<modelSlot value="model" />
</component>

<component id="generator" class="org.eclipse.xpand2.Generator" skipOnErrors="true">
<metaModel idRef="mm_profile"/>
<expand value="templates::Root::Root FOR model"/>
<fileEncoding value="ISO-8859-1"/>
<outlet path="src-gen">
<postprocessor class="org.eclipse.xpand2.output.JavaBeautifier"/>
</outlet>
</component>
</workflow>

I get the following errors:

0 INFO WorkflowEngine - --------------------------------------------------------------------------------------
2 INFO WorkflowEngine - EMF Modeling Workflow Engine 1.1.1, Build v201108020506
3 INFO WorkflowEngine - (c) 2005-2009 openarchitectureware.org and contributors
3 INFO WorkflowEngine - --------------------------------------------------------------------------------------
3 INFO WorkflowEngine - running workflow: C:/Users/yasser/Desktop/workspace/my.generator.project/src/workflowWithProfile.mwe
3 INFO WorkflowEngine -
319 ERROR WorkflowEngine - [ERROR]: Class not found: 'org.eclipse.xtend.typesystem.uml2.Setup'(Element: bean bean class='org.eclipse.xtend.typesystem.uml2.Setup' in C:/Users/yasser/Desktop/workspace/my.generator.project/src/workflowWithProfile.mwe:7; Reported by: -UNKNOWN-)
320 ERROR WorkflowEngine - [ERROR]: No getter or adder method for property 'standardUML2Setup' in clazz 'java.lang.Object' found.(Element: standardUML2Setup='true' in C:/Users/yasser/Desktop/workspace/my.generator.project/src/workflowWithProfile.mwe:7; Reported by: -UNKNOWN-)
320 ERROR WorkflowEngine - [ERROR]: Class not found: 'org.eclipse.xtend.typesystem.uml2.profile.ProfileMetaModel'(Element: bean bean class='org.eclipse.xtend.typesystem.uml2.profile.ProfileMetaModel' id='mm_profile' in C:/Users/yasser/Desktop/workspace/my.generator.project/src/workflowWithProfile.mwe:10; Reported by: -UNKNOWN-)
320 ERROR WorkflowEngine - [ERROR]: No getter or adder method for property 'profile' in clazz 'java.lang.Object' found.(Element: profile='platform:/resource/xpand.uml2.generator/src/test.profile.uml' in C:/Users/yasser/Desktop/workspace/my.generator.project/src/workflowWithProfile.mwe:11; Reported by: -UNKNOWN-)
320 WARN WorkflowEngine - [WARNING]: The type of the referred bean (java.lang.Object) is not assignable to org.eclipse.xtend.typesystem.MetaModel(Element: -UNKNOWN-; Reported by: -UNKNOWN-)
320 ERROR WorkflowEngine - Workflow interrupted because of configuration errors.

Mainly class not found errors. Using eclipse indigo.
Re: Workflow configuration error - classes not found [message #921067 is a reply to message #921048] Sun, 23 September 2012 19:50 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 6550
Registered: July 2009
Senior Member
Make sure you add the required plugins to the manifest.mf

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de
Previous Topic:[Xpand] Version in Juno SR1: 1.2.1 or 1.2.2?
Next Topic:[Acceleo] keeping track of model changes on generation
Goto Forum:
  


Current Time: Sun Dec 21 23:28:17 GMT 2014

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

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