| Summary: | [EMF Compare] GenericMatchEngine is restricted to XMIResources | ||
|---|---|---|---|
| Product: | [Modeling] EMFCompare | Reporter: | Christian Schneider <christian.schneider> |
| Component: | Core | Assignee: | EMF Compare <emf.compare-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | blocker | ||
| Priority: | P3 | CC: | laurent.goubet |
| Version: | 1.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
That's kind of an overlook, I fixed it and added unit tests for non XMI resources. The build is going on and should be available in the next hours. Thanks for your feedback ! Closing this bug now. (In reply to comment #2) > Closing this bug now. It works for me :-) (In reply to comment #3) > (In reply to comment #2) > > Closing this bug now. > > It works for me :-) Thanks for the feedback :). At least we are sure that it indeed fixed the issue for you :). (In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > Closing this bug now. > > > > It works for me :-) > > Thanks for the feedback :). At least we are sure that it indeed fixed the issue > for you :). If you are curious about the result, have a look at http://rtsys.informatik.uni-kiel.de/~chsch/videokitsaudio.mp4 |
Matching, diffing and merging is restricted to XMIResources by the following code in method doMatch in GenericMatchEngine.java: if (!structuredOptions.isIgnoringXMIID()) if (leftResource instanceof XMIResource && rightResource instanceof XMIResource) { checker.init(leftResource, rightResource); } This prohibits proper comparing of XtextResources, for example. See also http://www.eclipse.org/forums/index.php?t=rview&goto=533818&th=168091