Hi Thomas,

Thomas Neustupny wrote:
> Hi,
>
> the main reason for writing this mail is my committed code from yesterday:
> http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2424413
>
> It fixes the problem for eUML that in hrefs (XMI) there is the whole path, 
> which is only valid on the same machine where the model is created. It 
> appears first in the profile reference for every new project, because it 
> references our standard UML 2.2 profile. With my commit, I shortened the href 
> value so that for internal profiles they start with "org/argouml/", and for 
> user profiles I only take the filename, so that a href would be 
> filename+xmi.id.
>   
couldn't we maintain the scheme of MDR which is to create references in 
the XMI with the URLs, having some mapping between internal URIs - which 
point to where the profile really is - and external references that are 
persisted in the XMI?

Check the profile subsystem 
<http://argouml.tigris.org/wiki/%3C%3CSubsystem%3E%3E_Profile> in the 
cookbook, "Figure 5.9. Class diagram of the ? 
<http://argouml.tigris.org/wiki/ProfileReference>ProfileReference class 
and associated classes" near the bottom, where we have a Path attribute 
(internal path) of a ProfileReference, and a PublicReference attribute.

This would ease the transition a bit...

Regards, and thanks for being working on this.

Luís

> I wanted to let you know, because shorter hrefs are less likely to be unique, 
> and also I'm not sure which other side effects this has. So, is this valid?
>
> Two other current persistence issues are:
>  - loading a profile project twice fails (restart of ArgoUML needed)
>  - base classes of stereotypes are missing when running ArgoUML standalone 
> (but no problem when running inside eclipse)
> I'll create issues for these of course. In the second issue I already found 
> that the eUML.resources property was not set in the start script, but that 
> alone doesn't fix it.
>
> Thomas
>

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

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