|Re: An Error running the zipfile for UML2 Profile [message #628097 is a reply to message #628096]
||Thu, 26 November 2009 09:11
| Thomas Neustupny
Registered: October 2009
Williams wrote on Thu, 26 November 2009 03:37|
> Could you please tell me how to check using a correct resource set and whether the factories and uri mapping are in place? I did include resource in the argument of the program as follows:
> " jar:file:C:\eclipse\eclipse\plugins\org.eclipse.uml2.uml.res ources_2.2.0.v200805131030.jar!/ "
Ok, I try to answer, but I'm a newbie here, and also I never tried the zip file you mentioned. You are using the load method from the tutorial article, which uses a statically initialized resource set (RESOURCE_SET). Check if this resource set is initialized in a way that there is a mapping for ExtendedPO2.uml, like this:
Map<URI, URI> uriMap = RESOURCE_SET.getURIConverter().getURIMap();
This is what I meant with checking the resource set and the uri mappings. I'm not sure if the factories need to be checked too, maybe not.
Can an expert check for a correct answer? :)
Powered by FUDForum
. Page generated in 0.01746 seconds