Hi Thomas and Alexander,

Thomas Neustupny wrote:
An important general question to all developers: How to make sure to not have conflicting xmi.ids in two different profiles?

(Imagine one person adds an element to profile A, and another person adds a model element to profile B, which has the same xmi.id by accident. Then, profiles A and B cannot be used together, right?)

  
In the models that reference a profile element the xmi.id is referenced prefixed with the URL of the profile. For instance, the C++ profile has the profile reference "http://argouml-cpp.tigris.org/profile/CppUmlProfile.xmi". See for instance the org.argouml.language.cpp.profile.BaseProfile.PROFILE_REFERENCE in argouml-cpp. It is VERY IMPORTANT that the URL does not change in addition to the xmi.ids within the profile.

More details about ProfileReference in "Defining Profiles" of the Profile Subsystem wiki page: http://argouml.tigris.org/wiki/%3C%3CSubsystem%3E%3E_Profile

and in my [Ahamm] latest Argonaut's life blog post: http://argonauts-life.blogspot.com/2008/04/resolving-and-persisting-profile.html

Hope this helps,

Luís
Thomas

-------- Original-Nachricht --------
  
Datum: Fri, 10 Apr 2009 10:16:07 -0700 (PDT)
Von: Alexander Lepekhine <[email protected]>
An: [email protected]
Betreff: RE: [argouml-dev] Loading of old projects might fail in current SVN
    

  
About profile... Could you tell me how to add a new tag definition to Java
profile? Does it work?

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

To unsubscribe from this discussion, e-mail:
[[email protected]].
To be allowed to post to the list contact the mailing list moderator,
email: [[email protected]]
    

  

Reply via email to