[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.technology.gmt.amw] model conforms to metamodel: problem! Help me, please
|
Hello.
Perhalp I'm not writing in the correct place, but I need help... please,
it's very important for me.
Please, if you can, spend some minutes for help me. Thank you very much!
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