Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Ecore Tools » Create a snapshot of ResourceSet
Create a snapshot of ResourceSet [message #558106] Fri, 10 September 2010 08:25
Stephan Au. is currently offline Stephan Au.
Messages: 4
Registered: July 2009
Junior Member
Hi!

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.

Kind regards
Previous Topic:attribute dependencies
Next Topic:Add attribute/reference to diagram which is part of model
Goto Forum:
  


Current Time: Sat Oct 25 17:49:36 GMT 2014

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

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