commit | b90cb3e1cd26ebf2f5d4dc20717ba4c37ac901f5 | [log] [tgz] |
---|---|---|
author | Christian W. Damus <give.a.damus@gmail.com> | Thu May 29 09:29:52 2014 -0400 |
committer | Christian W. Damus <give.a.damus@gmail.com> | Thu May 29 09:29:52 2014 -0400 |
tree | e6242127c8abc5255bf2da1f3642270494756daa | |
parent | 2c5f65dbd3ff7698047eb6778849a8571871c9f2 [diff] |
[382342] Make Getting Started Documentation more helpful https://bugs.eclipse.org/bugs/show_bug.cgi?id=382342 The input argument to the example program is a path on the local filesystem, so use URI::createFileURI(...) instead of URI::createURI(...) to create a URI on it.
diff --git a/examples/org.eclipse.uml2.examples.introtoprofiles/src/org/eclipse/uml2/examples/introtoprofiles/IntroductionToUMLProfiles.java b/examples/org.eclipse.uml2.examples.introtoprofiles/src/org/eclipse/uml2/examples/introtoprofiles/IntroductionToUMLProfiles.java index 8def7ee..1b69ba8 100644 --- a/examples/org.eclipse.uml2.examples.introtoprofiles/src/org/eclipse/uml2/examples/introtoprofiles/IntroductionToUMLProfiles.java +++ b/examples/org.eclipse.uml2.examples.introtoprofiles/src/org/eclipse/uml2/examples/introtoprofiles/IntroductionToUMLProfiles.java
@@ -198,7 +198,7 @@ banner("Applying the profile to an example model."); // Load a model to which to apply the profile - Model epo2Model = (Model) load(URI.createURI(args[0]) + Model epo2Model = (Model) load(URI.createFileURI(args[0]) .appendSegment("ExtendedPO2") .appendFileExtension(UMLResource.FILE_EXTENSION));