| 
| Xpand quits with no exception text [message #63604] | Fri, 03 July 2009 09:08  |  | 
| Eclipse User  |  |  |  |  | Hi 
 Following on from some of my email threads about my efforts with
 xpand workflow I'm now totally stumped.
 
 If I run my workflow with the following empty Xpand
 
 «DEFINE Main FOR contract::BusinessService»
 
 «ENDDEFINE»
 
 I get success
 
 Jul 3, 2009 1:47:34 PM
 org.eclipse.emf.mwe.core.container.CompositeComponent internalInvoke
 INFO: Generator(ngossGenerate): generating 'Demos::Main FOR ngossModel'
 => ./src-gen
 Jul 3, 2009 1:47:34 PM org.eclipse.emf.mwe.core.WorkflowRunner
 executeWorkflow
 INFO: workflow completed in 73ms!
 
 
 
 If I add anything xpand related to the file or even a simple
 <<description>> field
 e.g
 
 «DEFINE Main FOR contract::BusinessService»
 
 «FILE "myTest.txt"»
 «description»
 «ENDFILE»
 
 «ENDDEFINE»
 
 xpand terminates but no error is shown as confirmed in debugger
 
 Any idea what may be wrong or how I can identify the issue?
 (model  was created with GEF-GMF editor - same model/diag in one file)
 
 <?xml version="1.0" encoding="UTF-8"?>
 <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
 xmlns:contract="http://www.zz.com/2008/contract"
 xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation"
 xmlns:sla="http://www.zz.com/2008/sla">
 <contract:BusinessService xmi:id="_1LVM0WSgEd6Gb-e14Ojxqw"
 description="IWasEar">
 <specifiesContracts xmi:type="contract:Contract"
 xmi:id="_4A2ocGSgEd6Gb-e14Ojxqw" Title="TestModel">
 <contractSLA xmi:type="sla:ContractSLA"
 xmi:id="_4o-_cGSgEd6Gb-e14Ojxqw"/>
 </specifiesContracts>
 </contract:BusinessService>
 <notation:Diagram xmi:id="_1LioMGSgEd6Gb-e14Ojxqw" type="Ngoss"
 element="_1LVM0WSgEd6Gb-e14Ojxqw" name="default2.ngoss"
 measurementUnit="Pixel">
 <styles xmi:type="notation:DiagramStyle"
 xmi:id="_1LioMWSgEd6Gb-e14Ojxqw"/>
 </notation:Diagram>
 </xmi:XMI>
 
 
 regards
 Steve
 |  |  |  | 
| 
| Re: Xpand quits with no exception text [message #63632 is a reply to message #63604] | Fri, 03 July 2009 12:24  |  | 
| Eclipse User  |  |  |  |  | Found it! 
 I spent a couple of days banging my head against the wall, I'm using a mac
 And no error output.
 
 Out of curiosity I exported and tried running on a pc, and got
 INFO: Generator(ngossGenerate): generating 'Demos::Main FOR ngossModel' =>
 ../src-gen
 Exception in thread "main" java.lang.NoClassDefFoundError:
 com/ibm/icu/text/NumberFormat
 at
 org.eclipse.internal.xtend.util.StringHelper.<clinit>(StringHelper.java:26)
 at
 org.eclipse.internal.xtend.expression.ast.StringLiteral.getV alue(StringLiter
 al.java:41)
 
 If I include com.ibm.icu in my dependencies pc and mac it works!
 
 Nice
 
 Steve
 
 
 
 On 03/07/2009 14:08, in article h2kvrn$ks2$1@build.eclipse.org, "Bill Hinge"
 <steve.orobec@btopenworld.com> wrote:
 
 > Hi
 >
 > Following on from some of my email threads about my efforts with
 > xpand workflow I'm now totally stumped.
 >
 > If I run my workflow with the following empty Xpand
 >
 > «DEFINE Main FOR contract::BusinessService»
 >
 > «ENDDEFINE»
 >
 > I get success
 >
 > Jul 3, 2009 1:47:34 PM
 > org.eclipse.emf.mwe.core.container.CompositeComponent internalInvoke
 > INFO: Generator(ngossGenerate): generating 'Demos::Main FOR ngossModel'
 > => ./src-gen
 > Jul 3, 2009 1:47:34 PM org.eclipse.emf.mwe.core.WorkflowRunner
 > executeWorkflow
 > INFO: workflow completed in 73ms!
 >
 >
 >
 > If I add anything xpand related to the file or even a simple
 > <<description>> field
 > e.g
 >
 > «DEFINE Main FOR contract::BusinessService»
 >
 > «FILE "myTest.txt"»
 > «description»
 > «ENDFILE»
 >
 > «ENDDEFINE»
 >
 > xpand terminates but no error is shown as confirmed in debugger
 >
 > Any idea what may be wrong or how I can identify the issue?
 > (model  was created with GEF-GMF editor - same model/diag in one file)
 >
 > <?xml version="1.0" encoding="UTF-8"?>
 > <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
 > xmlns:contract="http://www.zz.com/2008/contract"
 > xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation"
 > xmlns:sla="http://www.zz.com/2008/sla">
 >    <contract:BusinessService xmi:id="_1LVM0WSgEd6Gb-e14Ojxqw"
 > description="IWasEar">
 >      <specifiesContracts xmi:type="contract:Contract"
 > xmi:id="_4A2ocGSgEd6Gb-e14Ojxqw" Title="TestModel">
 >        <contractSLA xmi:type="sla:ContractSLA"
 > xmi:id="_4o-_cGSgEd6Gb-e14Ojxqw"/>
 >      </specifiesContracts>
 >    </contract:BusinessService>
 >    <notation:Diagram xmi:id="_1LioMGSgEd6Gb-e14Ojxqw" type="Ngoss"
 > element="_1LVM0WSgEd6Gb-e14Ojxqw" name="default2.ngoss"
 > measurementUnit="Pixel">
 >      <styles xmi:type="notation:DiagramStyle"
 > xmi:id="_1LioMWSgEd6Gb-e14Ojxqw"/>
 >    </notation:Diagram>
 > </xmi:XMI>
 >
 >
 > regards
 > Steve
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.03493 seconds