| Ravi Kiran Tiragati |
 |
Saturday, February 12 2011 @ 09:23 PM CET (Read 1531 times) |
|
|
|
Status: offline
Registered: 01/28/11
Posts: 6
|
i am currently working on gmf .i am trying to invoke workflow.runner from my gmf context menu.
when i invoke workflow it's going out of memory. so i tried to debug it i found the following error.
prepare workflow fails in the workflow runner.i found out that it was because of configuration errors in my workflow file
prepare(workFlowFile, theMonitor, theParams);
can you point out from my workflow file?
all my parameters seem to be fine but i m not sure where something has gone wrong.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0"?>
<workflow>
<property name="model" value="C:\\Documents and Settings\\rtiragat\\runtime-EclipseApplication\\Automation\\default.mist" />
<!--<property name="model" value="Automation/default.mist_diagram" />-->
<property name="src-gen" value="src-gen" />
<!-- set up EMF for standalone execution -->
<bean class="org.eclipse.mwe.emf.StandaloneSetup" >
<platformUri value=".."/>
<registerGeneratedEPackage value="mist.MistPackage"/>
<!-- Load GMF Notation package Don't load from model as it gives errors -->
<registerGeneratedEPackage value="org.eclipse.gmf.runtime.notation.NotationPackage"/>
</bean>
<!-- instantiate metamodel -->
<bean id="mm_emf" class="org.eclipse.m2t.type.emf.EmfRegistryMetaModel"/>
<!-- load model and store it in slot 'model' -->
<!--<component class="org.eclipse.mwe.emf.Reader">-->
<component class="org.openarchitectureware.emf.XmiReader">
<modelFile value="${model}"/>
<outputSlot value="model"/>
<firstElementOnly value="true"/>
<!--<model value="${model}"/>-->
<!-- <uri value="platform:/resource/${model}" />-->
<!--<modelSlot value="model" />-->
</component>
<!-- check model -->
<component class="oaw.check.CheckComponent">
<metaModel idRef="mm_emf"/>
<checkFile value="metamodel::Checks" />
<emfAllChildrenSlot value="model" />
</component>
<!-- generate code -->
<component class="org.openarchitectureware.xpand2.Generator">
<metaModel idRef="mm_emf"/>
<expand
value="template::Template::main FOR model" />
<outlet path="${src-gen}" >
<postprocessor class="org.openarchitectureware.xpand2.output.JavaBeautifier" />
</outlet>
</component>
</workflow>
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
| |
|
|
| Ravi Kiran Tiragati |
 |
Tuesday, February 15 2011 @ 11:22 AM CET |
|
|
|
Status: offline
Registered: 01/28/11
Posts: 6
|
can someone really point out the error
|
| |
|
|
| Ravi Kiran Tiragati |
 |
Friday, February 25 2011 @ 08:02 AM CET |
|
|
|
Status: offline
Registered: 01/28/11
Posts: 6
|
Hi Can someone point out the problem. i tried googling but no information on how to configure fro my requirement gmf wid oaw
|
| |
|
|