Psylithium
New Member
Version of EMF Compare: 2.1.0 M6 (2013/03/19 17:50)I am trying to use standalone compare as explained in this guide. I get the below compilation error\[code\]The method setMatchEngine(IMatchEngine) is undefined for the type EMFCompare.Builder\[/code\]for the below code\[code\]// Configure EMF CompareIEObjectMatcher matcher = DefaultMatchEngine.createDefaultEObjectMatcher(UseIdentifiers.NEVER);IComparisonFactory comparisonFactory = new DefaultComparisonFactory(new DefaultEqualityHelperFactory());IMatchEngine matchEngine = new DefaultMatchEngine(matcher, comparisonFactory);EMFCompare comparator = EMFCompare.builder().setMatchEngine(matchEngine).build();\[/code\]I see that \[code\]setMatchEngine\[/code\] is replaced by some other API as shown in the below figure. I am not sure how to specify the new \[code\]matchEngine\[/code\] using that API.