ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: load model with Ant
Date Thu, 28 Sep 2006 06:46:31 GMT
I think you ask better on an Eclipse list (maybe GMT).

Jan 

>-----Urspr√ľngliche Nachricht-----
>Von: Sara [mailto:puellulaz@gmail.com] 
>Gesendet: Mittwoch, 27. September 2006 20:46
>An: user@ant.apache.org
>Betreff: load model with Ant
>
>Hello. 
>I have a problem for create a model conform to my metamodel. 
>I'm using Eclipse 3.1.2 (from ATLBundle-20060501) with Omondo 2.1.0 . 
>I had created a file LoadMetamodel.xml with Ant Editor:
>
><project name="LoadMetamodels" default="loadAllMetamodels">  
><target name="loadAllMetamodels">
>  <am3.loadModel modelHandler="EMF" name="uml2" 
>metamodel="MOF" path="/UML2.ecore" />  </target> </project>
>
>After this, I run LoadMetamodel.xml with Ant and the result is:
>
>loadAllMetamodels:
>[am3.loadModel] Loading of model uml2
>BUILD SUCCESSFUL
>
>Therefore, I image it's all ok!
>
>After I had created a ecore file with this:
>
><?xml version=1.0" encoding="UTF-8"?>
><xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" 
>xmlns="uml2"/>
>
>but when I open this last file with Sample Ecore Model Editor 
>I see that it's not load my metamodel, because for create my 
>model I see only EMF object.
>
>Can someone help me?
>
>Thank you very much!
>
>puellula
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message