problems with pathmap [message #627481] |
Wed, 08 April 2009 15:49 |
Sorin Fagateanu Messages: 46 Registered: July 2009 |
Member |
|
|
Hello all,
I am stucked ...
I am trying to add a profile called MyProfile.profile.uml to the pathmap
by adding the following extension to plugin.xml
<extension point="org.eclipse.emf.ecore.uri_mapping">
<mapping source="pathmap://MY_PROFILES/"
target="platform:/plugin/designer.umlext.editor/my_profiles ">
</mapping>
</extension>
When I try to load the profile I do something like this:
Resource inputResource = resourceSet.createResource(
URI.createURI("pathmap://MY_PROFILES/MyProfile.profile.uml"));
try {
inputResource.load(null); ####
}catch (IOException exception) {
exception.printStackTrace();
}
,but I keep getting "java.net.MalformedURLException: unknown protocol:
pathmap" exception at ####
Can someone help me by explaining what could the sources of this error?
Thanks in advance!
|
|
|
Powered by
FUDForum. Page generated in 0.03376 seconds