argouml-tigris-org / argouml

Main project of argouml. Some information in the wiki. Some old releases in releases. (depends on parentpom, testmodels)
250 stars 93 forks source link

ArgoUML tries to download http://argouml.org/profiles/uml14/default-uml14.xmi #10

Closed stcarrez closed 4 years ago

stcarrez commented 4 years ago

When you use your own profiles, ArgoUML tries to download the Default UML profile definition from:

http://argouml.org/profiles/uml14/default-uml14.xmi

The issue seems to be in XmiReferenceResolverImpl in toURL() in the following piece of code:

            if (modelUrl == null) {
                // If systemId is a valid URL, simply use it.
                // TODO: This causes a network connection attempt for profiles
                modelUrl = getValidURL(fixupURL(systemId));
            }
linustolke commented 4 years ago

So the argouml.org still points to argouml.tigris.org.

I have done the following:

linustolke commented 4 years ago

argouml.org now point to argouml-tigris-org.github.io so this should now work.

stcarrez commented 4 years ago

Hi Linus,

I'm afraid you missed my point. The main issue is not on the site name. The real issue is that ArgoUML tries to download the UML profile which it should not. Instead of trying to download the file, it should try to load the file that is provided by the Jar that contains it. That's the root issue.

Downloading is not a good idea because it also forces you to have an Internet connection when you launch ArgoUML.

linustolke commented 4 years ago

OK. Well, yes. On the other hand referencing it with http://argouml.org/profiles/ and not downloading is confusing. Can we give them some other reference? Is there an url-standard for this kind of tool-provided files?