Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » problems with pathmap
problems with pathmap [message #627481] Wed, 08 April 2009 15:49
Sorin Fagateanu is currently offline Sorin FagateanuFriend
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!
Previous Topic:problems in reading an uml/xmi file
Next Topic:problems in reading an uml/xmi file
Goto Forum:
  


Current Time: Fri Apr 26 04:25:07 GMT 2024

Powered by FUDForum. Page generated in 0.03376 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top