Skip to main content



      Home
Home » Modeling » Compare » How to compare EMF Objects - createDefaultScope() deprecated ?
How to compare EMF Objects - createDefaultScope() deprecated ? [message #1099795] Mon, 02 September 2013 04:10 Go to next message
Eclipse UserFriend
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(),
resourceSet2);
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)?

Cheers
Kosala

[Updated on: Mon, 02 September 2013 04:11] by Moderator

Re: How to compare EMF Objects - createDefaultScope() deprecated ? [message #1102019 is a reply to message #1099795] Thu, 05 September 2013 04:34 Go to previous message
Eclipse UserFriend
Hi,

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
Obeo

[Updated on: Thu, 05 September 2013 04:36] by Moderator

Previous Topic:EMF Compare 2.1: Extension Point org.eclipse.emf.compare.ui.team.handler
Next Topic:Missing preference options for EMF compare 2.1
Goto Forum:
  


Current Time: Wed Jul 23 08:14:42 EDT 2025

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

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

Back to the top