Home » Modeling » M2T (model-to-text transformation) » [XPand] Apply oaw to xpand project error
| [XPand] Apply oaw to xpand project error [message #930173] |
Tue, 02 October 2012 00:39  |
Jack Vo Messages: 19 Registered: September 2012 |
Junior Member |
|
|
Hi everyone,
I'm new to oAW and xpand, I'm trying to apply workflow to my xpand project, can you please to help me this issue?
Here is my xpand code:
«DEFINE main FOR ARRoot::BMD»
«FILE "Hello.h" -»
Number = «this.Example.parameter.value»
«ENDFILE»
«ENDDEFINE»
Here is my workflow:
<?xml version="1.0" encoding="utf-8"?>
<workflow>
<property name="baseDir" value="./"/>
<property name='src-gen' value="${baseDir}/gen" />
<!-- load model and store it in slot 'model' -->
<component class="org.openarchitectureware.xsd.XMLReader">
<uri value="./default.arxml"/>
<modelSlot value="EPC" />
<metaModel id="mm" class="org.openarchitectureware.xsd.XSDMetaModel">
<schemaFile value="${baseDir}/autosar_4-0-3.xsd"/>
</metaModel>
</component>
<component class="org.openarchitectureware.xpand2.Generator">
<metaModel idRef="mm" />
<expand value="src::mytemplate::main FOR EPC"/>
<outlet path="${src-gen}" >
<postprocessor class="org.openarchitectureware.xpand2.output.JavaBeautifier" />
</outlet>
</component>
</workflow>
My problem:
7218 INFO CompositeComponent - Generator: generating 'src::mytemplate::main FOR EPC' => .//gen
7410 ERROR AbstractExpressionsUsingWorkflowComponent - Error in Component of type org.openarchitectureware.xpand2.Generator:
EvaluationException : No Definition 'src::mytemplate::main for autosar403::Autosar' found!
[23,36] on line 1 'EXPAND src::mytemplate::main FOR EPC'
7410 ERROR WorkflowRunner - Workflow interrupted. Reason: EvaluationException : No Definition 'src::mytemplate::main for autosar403::Autosar' found!
[23,36] on line 1 'EXPAND src::mytemplate::main FOR EPC'
7411 ERROR WorkflowRunner - ERROR in Component of type org.openarchitectureware.xpand2.Generator
No Definition 'src::mytemplate::main for autosar403::Autosar' found! [EXPAND src::mytemplate::main FOR EPC] in workflow: Generator: generating 'src::mytemplate::main FOR EPC' => .//gen
I think my input at expand tab has problem, but I don't have any ideas to fix it. My model file has 2 parts:
+ BMD: template of parameters
+ EPC: value of parameters
Can you please give a brief direction with this problem?
Thank you
|
|
|
 |
|
[XPand] Apply oaw to xpand project error
By: Jack Vo on Tue, 02 October 2012 00:39 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Tue, 02 October 2012 02:53 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Tue, 02 October 2012 05:21 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Tue, 02 October 2012 06:24 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Tue, 02 October 2012 22:36 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Wed, 03 October 2012 04:46 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Wed, 03 October 2012 06:20 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Wed, 03 October 2012 23:16 |
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Thu, 04 October 2012 01:01 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Thu, 04 October 2012 03:56 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Thu, 04 October 2012 06:10 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Thu, 04 October 2012 06:55 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Fri, 05 October 2012 06:15 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Mon, 08 October 2012 04:01 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Mon, 08 October 2012 05:37 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Mon, 08 October 2012 23:52 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Tue, 09 October 2012 03:00 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Tue, 09 October 2012 03:44 |
 |
|
Re: [XPand] Apply oaw to xpand project error
By: Jack Vo on Wed, 24 October 2012 04:52 |
 |
|
Re: [XPand] Apply oaw to xpand project error
|
Goto Forum:
Current Time: Fri May 24 22:46:27 EDT 2013
Powered by FUDForum. Page generated in 0.07216 seconds
|