Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » storing model from ant script
storing model from ant script [message #586688] Wed, 24 February 2010 14:34
m kranz is currently offline 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
Previous Topic:[n] Multiplicity problem in EMFATIC file
Next Topic:[EVL] CritiqueLevel
Goto Forum:
  


Current Time: Mon Sep 22 00:13:51 GMT 2014

Powered by FUDForum. Page generated in 0.04289 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software