Skip to main content

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.Friend
Messages: 4
Registered: July 2009
Junior Member

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: Wed Sep 30 06:30:08 GMT 2020

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

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

Back to the top