alexander krohn wrote:
alexander krohn schrieb:
hi.
i want to use the uml2mof-tool[1], but it chokes on argouml's
xmi-output.
argouml writes out something like this:
<UML:Stereotype href =
'http://argouml.org/profiles/uml14default-uml14.xmi#.:000000000000083E'/>
i changed the href to contain "default-uml14.xmi#..." and put the
according file from org.argouml.profile.profiles in to same directory
as the exported xmi-file. uml2mof finds and uses it and generates the
mof-metamodel.
i'm not sure, if uml2mof can handle the "http://..." but the url is
definitly wrong. also the first "uml14" in front of
"default-uml14.xmi" seems strange. however i can't find where the url
comes from.
any hints?
Hello Alexander,
this is a special URL understood by a custom XmiReferenceResolverImpl
class that handles it in a special way. The profile file
default-uml14.xmi is within the argouml.jar file and the profile base
reference "http://argouml.org/profiles/uml14" signals that special
handling is needed by the reference resolver.
Please see
http://argouml.tigris.org/source/browse/argouml/trunk/src/model-mdr/src/org/argouml/model/mdr/XmiReferenceResolverImpl.java
Regards,
Luís
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]