|Create a snapshot of ResourceSet [message #558106]
||Fri, 10 September 2010 08:25
| Stephan Au.
Registered: July 2009
I want to create a single file snapshot of a EMF ResourceSet that contains the merged Resources in the set. I have used EcoreUtil.copyAll() but had some problems with proxies. I want to resolve all proxies in terms of
1. ResourceSet internal proxies are replaced by internal references in the merged snapshot and
2. ResourceSet external proxies are replaced by new EObjects
so that the resulting snapshot is closed (it has no proxies). I investigated the API of EMF Compare but still have no idea if the MergeService is suitable for this. Seems to me likely that this should be doable with the basic Ecore tools. I would appreciate any advice on this.
Powered by FUDForum
. Page generated in 0.01561 seconds