ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sara" <puellu...@gmail.com>
Subject Re: load model with Ant
Date Thu, 28 Sep 2006 07:04:38 GMT
Thank you very much, Jan.

puellula

----- Original Message ----- 
From: <Jan.Materne@rzf.fin-nrw.de>
To: <user@ant.apache.org>
Sent: Thursday, September 28, 2006 8:46 AM
Subject: AW: load model with Ant


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


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


Mime
View raw message