Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » How to compare EMF Objects - createDefaultScope() deprecated ?
How to compare EMF Objects - createDefaultScope() deprecated ? [message #1099795] Mon, 02 September 2013 08:10 Go to next message
Kosala Yapa is currently offline Kosala YapaFriend
Messages: 159
Registered: September 2010
Senior Member
Hi there,

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 =;

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

Re: How to compare EMF Objects - createDefaultScope() deprecated ? [message #1102019 is a reply to message #1099795] Thu, 05 September 2013 08:34 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1895
Registered: July 2009
Senior Member

Please see the javadoc of the deprecated method for information on how to replace it, or the FAQ on how to call EMF Compare.

Laurent Goubet

[Updated on: Thu, 05 September 2013 08:36]

Report message to a moderator

Previous Topic:EMF Compare 2.1: Extension Point
Next Topic:Missing preference options for EMF compare 2.1
Goto Forum:

Current Time: Sun Sep 19 03:25:12 GMT 2021

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

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

Back to the top