storing model from ant script [message #586688] |
Wed, 24 February 2010 14:34 |
m kranz Messages: 69 Registered: January 2010 |
Member |
|
|
hi dimitris
now that i am able to load model from ant, i was trying to modify them, but my changes didn't show up in the model. guess i have to
store the model to make the changes visible?
i tried the following:
<project default="main">
<target name="main">
<epsilon.emf.loadModel
name = "Ecore_new"
modelfile="model/testing.ecore"
metamodeluri="http://www.eclipse.org/emf/2002/Ecore"
read="true"
store="false"/>
<epsilon.emf.loadModel
name = "Ecore_old"
modelfile="model/testing_old.ecore"
metamodeluri="http://www.eclipse.org/emf/2002/Ecore"
read="true"
store="false"/>
<epsilon.eol src="model/moveGMFAnnotations.eol">
<model ref="Ecore_new"/>
<model ref="Ecore_old"/>
</epsilon.eol>
<epsilon.storeModel
name = "Ecore_new"
/>
</target>
</project>
but it got an error stating that "epsilon.storeModel doesn't support the 'name' attribute".
in the book (p. 162) it says 'name' and 'target' are supported, so i guess there's something else i'm doing wrong here?
thanks in advance
marco
|
|
|
Powered by
FUDForum. Page generated in 0.03293 seconds