|How to compare EMF Objects - createDefaultScope() deprecated ? [message #1099795]
||Mon, 02 September 2013 08:10
| Kosala Yapa
Registered: September 2010
I am using EMF Compare 2.
I have a persisted EMF object which I read into a resource set. Now I need to compare this resource set with another EMF Object, which is in memory.
I tried the following approach.
EMFCompare comparator = EMFCompare.builder().build();
IComparisonScope scope = EMFCompare.createDefaultScope(emfObject.eResource().getResourceSet(),
Comparison result = comparator.compare(scope);
It looks to me, createDefaultScope() is deprecated. Can someone help me to figure out the latest approach of comparing two resource sets (or EMF Object and resource set)?
[Updated on: Mon, 02 September 2013 08:11]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01595 seconds