Sorry for this .. i did not read the forums !
By reading sculptorworkflow.oaw one can figure that the name of the inputSlot has to be dslModel. So In the tutorials one only has to add :
<component class="org.openarchitectureware.emf.XmiWriter">
<inputSlot value="dslModel"/>
<modelFile value="model.xmi"/>
</component>
However the xmiwriter puts this in the xmi file :
xsi:schemaLocation="
http://www.fornax-platform.org/sculptor/dsl org/fornax/cartridges/sculptor/dsl/sculptordsl.ecore"
this cant be used right away in the ecore reflective editor. So i changed this manually to point to my local copy of sculptordsl.ecore file. Now i am in business !
Thanks !
dameerjoog wrote:
Hi.
I just found out out about sculptor. When i create the .design file is it possible to convert it to the .ecore metatmodel file ?
I am sure there is a way because maybe internally that is what happens. All my oaw templates are based on ecore files so i need to get my hand on the generated ecore file.
Also what kind of conversion happens internally ?
1) is it .design -> .ecore
2) is it .design -> .xmi
where is the metamodel (.ecore) for the xtext file ?
Thanks.