|
Re: EMF Cross platform:/plugin Resource Persistence [message #1691176 is a reply to message #1691175] |
Thu, 02 April 2015 19:47 |
|
Hi,
Try your scenario with a platform-scheme-aware URI handler in the save
options for your resources. e.g., something like:
Map<Object, Object> saveOptions = // ...
saveOptions.put(XMLResource.OPTION_URI_HANDLER,
new URIHandlerImpl.PlatformSchemeAware());
HTH,
Christian
On 2015-04-02 19:42:13 +0000, Regent LArcheveque said:
> Hi,
>
> we have two resources. The resource A is contained in a plugin
> (platform:/plugin/...) and the resource B is stored in the workspace.
> B contains a reference to A. Using the default generated EMF Editor,
> the B serialization (xml file) uses the following schema:
>
> href="../../plugin/../"
> instead of
> href="platform:/plugin/../"
>
> The resourceSet contains both resources and URIs with A and B are ok.
>
> What are we doing wrong?
>
> Thanks for your support
>
> ;)
|
|
|
|
Powered by
FUDForum. Page generated in 0.03896 seconds