[Issue 6406] MIWG Test UML2.3

[email protected] Mon, 8 Apr 2013 14:32:12 -0700 (PDT)
Newsgroups gmane.comp.lang.uml.argouml.issues
Message-ID <[email protected]>
http://argouml.tigris.org/issues/show_bug.cgi?id=6406






------- Additional comments from [email protected] Mon Apr  8 14:32:12 -0700 2013 -------
As write in other issue (6461, may be link but it is not the same), I have try 
to change jar for eUML (+EMF) but it still doesn't work.
The version I tested today : emf-runtime-2.9.0M6 + mdt-uml2-runtime-4.1.0M6.

An external link :
http://www.eclipse.org/forums/index.php/t/452094/


In org.argouml.persistence.ModelMemberFilePersister#readModels(InputSource)
the modele isn't load because a instance of "org.eclipse.uml2.uml.Model" (or 
Profile) is expected and this is a 
"org.eclipse.emf.ecore.xml.type.impl.AnyTypeImpl".

With debug, it looks that in
org.eclipse.emf.ecore.xmi.impl.XMIHandler#createDocumentRoot

"extendedMetaData.demandedPackages().contains(eFactory.getEPackage())" is true

eFactory.getEPackage() which is equals to 
"org.eclipse.emf.ecore.impl.EPackageImpl@12ea730 (name: null) (nsURI: 
http://www.omg.org/spec/UML/20090901, nsPrefix: uml)"
is in :
extendedMetaData.demandedPackages() wich is equals to "
[org.eclipse.emf.ecore.impl.EPackageImpl@12a973b (name: null) (nsURI: null, 
nsPrefix: null), org.eclipse.emf.ecore.impl.EPackageImpl@12ea730 (name: null) 
(nsURI: http://www.omg.org/spec/UML/20090901, nsPrefix: uml)]"

With Old version, "extendedMetaData.demandedPackages()" is empty.

Hope it can help !

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=3052813

To unsubscribe from this list, e-mail: [[email protected]].
Please do not reply to this mail. Instead, add your comments in the issue.