Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Serialization: Workspace URIs vs. External URIs.
Serialization: Workspace URIs vs. External URIs. [message #626881] Tue, 26 August 2008 00:39
Nicolas Rouquette is currently offline Nicolas RouquetteFriend
Messages: 157
Registered: July 2009
Senior Member
Suppose I have two UML resources in my workspace:

/MyProject/A.uml and
/MyProject/B.uml

Suppose that B.uml references types defined in A.uml.

With Eclipse 3.4, a parameter P for an operation in B where the type of
P is in A looks like this:

<ownedParameter xmi:id="..." name="P">
<type xmi:type="..." href="/MyProject/A.uml#..."/>
</ownedParameter>

How can I export A.uml and B.uml in such a way where the serialization
of /MyProject/B.uml would have:

<ownedParameter xmi:id="..." name="P">
<type xmi:type="..." href="http://example.org/MyProject/A.uml#.."/>
</ownedParameter>


The migration guide shows how to do load-time URI conversion.
However, save-time URI conversation seems to be much more mysterious.

http://www.eclipse.org/modeling/mdt/uml2/docs/guides/UML2_2. 0_Migration_Guide/guide.html

Any suggestions?

-- Nicolas.
Previous Topic:setting uml2 namespaces
Next Topic:[Announce] MDT UML2 2.2.1 M200808261340 is available
Goto Forum:
  


Current Time: Fri Apr 19 09:57:33 GMT 2024

Powered by FUDForum. Page generated in 0.01904 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top