|[AM3] AM3-Injector "xml to ecore" doesn't work! [message #579950]
||Thu, 24 June 2010 13:20
Registered: January 2010
Here is my problem:
I have 2 files - one MM (metamodel) as xsd and its M (model) as xml. My purpose is to make ecore files from both MM and M.
1. MM.xsd to MM.ecore -> With EMF-genmodel extraction I could get MM.ecore from MM.xsd
2. M.xml to M.ecore.
This transformation didn't succeed.
I used for xml2ecore transformation the am3-injector (Eclipse 3.4.2+EMF2.4.0+ ATL.2.0 +AM3_0.2.0)
And As I tried the injection to ecore, I got these errors:
Fehler 1: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'XML' not found.
Fehler 2: org.eclipse.emf.ecore.xmi.ClassNotFoundException: Class 'Root' not found.
I also tried to inject some other xml-files always the same 2 errors (see above).
I read then in the ATL-forum that someone faced the same problem.
He solved it then, after installing the "OLD VERSION OF AM3" and after having used the AM3-Injector then.
Here is the link to the forum-entry: http://www.eclipse.org/forums/index.php?t=msg&th=32426&a mp;start=0&
So, I tried to install this "oldAM3" and found the link with howto:
So, I had to install Eclipse 3.42, then EMF2.4.0, then ATL 2.0 and then at last the old AM3 from sources as described in link "How Install AM3 From SVN".
3.4.2+EMF2.4.0 (core) was ok.
But then I started to look for ATL2.0 and found ONLY ATL2.0 TOGETHER WITH AM3:
No ATL2.0 WITHOUT AM3 was found! And the AM3-version going together with ATL 2.0 is (I suppose) the NEW one, not the OLD one, which (the old one) I need to perform the injection right.
1. Where can I find the ATL 2.0 PURE, without AM3?
2. Is there any other possibility to solve the problem with AM3 - xml2ecore - injection-Errors?
Thanks a lot
Powered by FUDForum
. Page generated in 0.01442 seconds