svn commit: r17562 - trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/EUMLModelImplementation.java
Thomas Neustupny <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: thn
Date: 2009-11-30 04:34:23-0800
New Revision: 17562
Modified:
trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/EUMLModelImplementation.java
Log:
partial fix for issue 5915 and some comments
Modified: trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/EUMLModelImplementation.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/EUMLModelImplementation.java?view=diff&pathrev=17562&r1=17561&r2=17562
==============================================================================
--- trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/EUMLModelImplementation.java (original)
+++ trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/EUMLModelImplementation.java 2009-11-30 04:34:23-0800
@@ -235,9 +235,10 @@
}
path = path.replace('\\', '/');
- if (Character.isLetter(path.charAt(0))) {
- path = '/' + path;
- }
+ // These lines were one cause for issue 5915: (Were they needed?)
+ //if (Character.isLetter(path.charAt(0))) {
+ // path = '/' + path;
+ //}
URI uri = URI.createURI("jar:file:" + path + "!/"); //$NON-NLS-1$ //$NON-NLS-2$
LOG.debug("eUML.resource URI --> " + uri); //$NON-NLS-1$
@@ -245,6 +246,7 @@
UMLPackage.eNS_URI, UMLPackage.eINSTANCE);
resourceSet.getPackageRegistry().put(
EcorePackage.eNS_URI, EcorePackage.eINSTANCE);
+ // For the .uml files in the eclipse jar files, we need this:
extensionToFactoryMap.put(
UMLResource.FILE_EXTENSION, UMLResource.Factory.INSTANCE);
uriMap.put(
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2425461
To unsubscribe from this discussion, e-mail: [[email protected]].