|
Re: Reloading Genmodel overrides URIs [message #1464305 is a reply to message #1463436] |
Fri, 07 November 2014 12:00 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Perhaps GMF is failing to keep up with the latest design changes. In
particular, perhaps they're not calling
resourceSet.getURIConverter().getURIMap().putAll(EcorePlugin.computePlatformURIMap(true));
but rather using the older deprecated call (with no arguments) which
passes (false) to the newer method. This was changed back in EMF 2.9
so is not a recent change...
On 06/11/2014 4:01 PM, Missing name Mising name wrote:
> Hi,
> I am referencing third-party ecore files from my ecore file via
> platform plugin URIs. This works fine.
> However, everytime I reload my genmodel it changes the URIs to
> resource URIs ("../.." instead of "platform:/plugin" in the text
> file). This breaks everything, e.g., GMF cannot work with that ecore
> anymore. So I have to change all URIs back each time after I reloaded
> the genmodel.
> This is really annoying. Does anybody else have this problem? Or is it
> a wrong configuration of my genmodel?
>
> Thanks for your help!
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03321 seconds