On Wed, Mar 12, 2008 at 10:41 PM, alexander krohn <[EMAIL PROTECTED]> wrote:
> >
> i've attached a patch for the resolver which add a "/" to default
> profile, so the filename is correct:
> <UML:Stereotype href =
> 'http://argouml.org/profiles/uml14/default-uml14.xmi#.:0000000000000847'/>
> <UML:Stereotype href =
> 'http://argouml.org/user-profiles/CppUmlProfile.xmi#.:000000000000085A'/>
>
> the url would be valid if the files would exist on the web-server. this
> would be *really* nice to external tools.

Hmm, I think we may make this work if the website contains the XMI
files - this may be hacked as sym links from a repository directory
argouml/trunk/www/profiles/uml14/ into the source files... Regarding
user defined profiles it is harder, since we would have to provide
some way for the users to control the domain part of the references
while keeping the references labeled as user defined profiles in order
for ArgoUML to make its auto magical replacement of HTTP references to
directories configured in the ProfileManager.

>
> the href for the profiles imported by modules were strange, the included
> the url *and* the runtime resource location, i changed it in the patch.
>
> when reading such references back, they have to be mapped to available
> profiles. this works for the internal profiles but not for profiles
> imported by modules(like the c++-profile). i couldn't find a way to get
> the correct resource location, the patch contains a hack here to make it
> work for the c++-profile, to see if it works.
>

I'll check this out tonight, but, we must be careful not to break
backwards compatibility of persisted models with ArgoUML 0.24.
Probably it will have to include some optional matching of the
OLD_PROFILE_BASE_URL.

Regarding the profiles contained in the modules, I'll check it out,
since it is better now that this isn't yet part of a released version
of ArgoUML, to consider the possibility of the modules to define a
valid HTTP URL also maintained by those sub-projects.

> i still don't know where the location should come from.
>
> any ideas?

As for ArgoUML core, it could be on the sub-projects websites...

Thanks for your feedback on this. Regards,

Luís

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to