Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [EMF Compare] Graphical Representation (solved)(How to use the graphical diff functionality of EMF compare)
[EMF Compare] Graphical Representation (solved) [message #886910] Fri, 15 June 2012 16:26 Go to next message
C. Thompson is currently offline C. Thompson
Messages: 23
Registered: May 2012
Location: Vancouver, BC
Junior Member
I am run EMF compare on different versions of diff.ecorediag. The
"graphical differences compare" seems strange. I just get a list

Node 1001 has been added
Node 1001 has been added
Node 1001 has been added
Node 1001 has been added


Is there another version of EMF compare that gives more specific names
rather than Node 1001?

The diffing algorithm does not seem to be able to make the comparisons
between versions correctly. For one version it says everything is
deleted and the new version everything is added.

The response was:

The display Strings of your elements (Node 1001...) are not dependent of EMF Compare, but of the plugin that provides these "Node" elements : EMF Compare asks EMF for the display String of its elements. If the plugin offers a better label, it will be displayed. Here, it seems like the label is indeed overriden (or you would have gibberish instead), but it is overriden to something that is not that understandable. However, this is only true for the "tree" representation.

With the "graphical comparison", you should have had a "graphical" representation of the diffs (at least for the supported modelers) such as what you can see on wiki. eclipse. org/EMF_Compare_1.0.0_New_And_Noteworthy#Draft_Graphical_Modelers_Integration .

Which modeler have you tried this on?

[Updated on: Thu, 23 August 2012 19:59]

Report message to a moderator

Re: [EMF Compare] Graphical Representation [message #886916 is a reply to message #886910] Fri, 15 June 2012 16:37 Go to previous messageGo to next message
C. Thompson is currently offline C. Thompson
Messages: 23
Registered: May 2012
Location: Vancouver, BC
Junior Member
I am in Eclipse Indigo 3.7 RC2.
I install EMF Compare version 1.3 from the update site.
Then I install the latest version of EMF and EMF tools from Indigo -
download. eclipse. org/releases/indigo


After that is all installed from update sites. I compare two versions diff.ecorediag from the EMF compare GIT repo. So I highlight the two files and right click and select compare with each other. I either get a blank gray screen or the node 1001 repeated many times. Attached is the image of what I get.
  • Attachment: Capture.JPG
    (Size: 209.12KB, Downloaded 107 times)

[Updated on: Mon, 18 June 2012 16:40]

Report message to a moderator

Re: [EMF Compare] Graphical Representation [message #888959 is a reply to message #886916] Mon, 18 June 2012 16:43 Go to previous messageGo to next message
C. Thompson is currently offline C. Thompson
Messages: 23
Registered: May 2012
Location: Vancouver, BC
Junior Member
I install EMF Compare version 1.3 to Eclipse Juno. 3.8 RC2. And I get the following errors in the log file.

Both EMF and ECore tools plugins are installed.

eclipse.buildId=I20120525-1400
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86_64

Warning
Mon Jun 18 13:37:37 PDT 2012
NLS unused message: NavigatorGroupName_DestructionEvent_3022_incominglinks in: messages

eclipse.buildId=I20120525-1400
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86_64

Warning
Mon Jun 18 13:37:37 PDT 2012
NLS unused message: NavigatorGroupName_DestructionEvent_3022_outgoinglinks in: messages

eclipse.buildId=I20120525-1400
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86_64

Error
Mon Jun 18 13:37:49 PDT 2012
An error occurred while automatically activating bundle org.eclipse.emf.compare (244).

org.osgi.framework.BundleException: Exception in org.eclipse.emf.compare.EMFComparePlugin.start() of bundle org.eclipse.emf.compare.
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer$ModelStructureLabelProvider.<init>(ModelStructureMergeViewer.java:471)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer.createLabelProvider(ModelStructureMergeViewer.java:171)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer.initialize(ModelStructureMergeViewer.java:368)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer.<init>(ModelStructureMergeViewer.java:113)
	at org.eclipse.emf.compare.ui.viewer.structure.ParameterizedStructureMergeViewer.<init>(ParameterizedStructureMergeViewer.java:71)
	at org.eclipse.emf.compare.diagram.ui.mergeviewer.GMFStructureMergeViewer.<init>(GMFStructureMergeViewer.java:34)
	at org.eclipse.emf.compare.diagram.ui.mergeviewer.GMFStructureMergeViewerCreator.createViewer(GMFStructureMergeViewerCreator.java:33)
	at org.eclipse.compare.internal.ViewerDescriptor.createViewer(ViewerDescriptor.java:63)
	at org.eclipse.compare.internal.CompareUIPlugin.getViewer(CompareUIPlugin.java:969)
	at org.eclipse.compare.internal.CompareUIPlugin.findStructureViewer(CompareUIPlugin.java:850)
	at org.eclipse.compare.CompareUI.findStructureViewer(CompareUI.java:312)
	at org.eclipse.compare.CompareEditorInput.findStructureViewer(CompareEditorInput.java:931)
	at org.eclipse.compare.internal.CompareStructureViewerSwitchingPane.getViewer(CompareStructureViewerSwitchingPane.java:84)
	at org.eclipse.compare.CompareEditorInput$10.getViewer(CompareEditorInput.java:715)
	at org.eclipse.compare.CompareViewerSwitchingPane.setInput(CompareViewerSwitchingPane.java:266)
	at org.eclipse.compare.internal.CompareStructureViewerSwitchingPane.setInput(CompareStructureViewerSwitchingPane.java:132)
	at org.eclipse.compare.CompareEditorInput.feedInput(CompareEditorInput.java:747)
	at org.eclipse.compare.CompareEditorInput.createContents(CompareEditorInput.java:555)
	at org.eclipse.compare.internal.CompareEditor.createCompareControl(CompareEditor.java:462)
	at org.eclipse.compare.internal.CompareEditor.access$6(CompareEditor.java:422)
	at org.eclipse.compare.internal.CompareEditor$3.run(CompareEditor.java:378)
	at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
	at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: java.lang.RuntimeException: Enable to construct an AdapterFactory from the extension registered on org.eclipse.emf.compare.itemprovideradapterFactory
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryDescriptor.getAdapterFactoryFromExtPoint(RegisteredItemProviderAdapterFactoryDescriptor.java:156)
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryDescriptor.<init>(RegisteredItemProviderAdapterFactoryDescriptor.java:82)
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryRegistry.addExtension(RegisteredItemProviderAdapterFactoryRegistry.java:64)
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryRegistry.parseInitialContributions(RegisteredItemProviderAdapterFactoryRegistry.java:157)
	at org.eclipse.emf.compare.EMFComparePlugin.start(EMFComparePlugin.java:180)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
	... 63 more

eclipse.buildId=I20120525-1400
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86_64

Error
Mon Jun 18 13:37:49 PDT 2012
Unhandled event loop exception

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: org/eclipse/emf/compare/util/AdapterUtils)
	at org.eclipse.swt.SWT.error(SWT.java:4361)
	at org.eclipse.swt.SWT.error(SWT.java:4276)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/emf/compare/util/AdapterUtils
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer$ModelStructureLabelProvider.<init>(ModelStructureMergeViewer.java:471)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer.createLabelProvider(ModelStructureMergeViewer.java:171)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer.initialize(ModelStructureMergeViewer.java:368)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer.<init>(ModelStructureMergeViewer.java:113)
	at org.eclipse.emf.compare.ui.viewer.structure.ParameterizedStructureMergeViewer.<init>(ParameterizedStructureMergeViewer.java:71)
	at org.eclipse.emf.compare.diagram.ui.mergeviewer.GMFStructureMergeViewer.<init>(GMFStructureMergeViewer.java:34)
	at org.eclipse.emf.compare.diagram.ui.mergeviewer.GMFStructureMergeViewerCreator.createViewer(GMFStructureMergeViewerCreator.java:33)
	at org.eclipse.compare.internal.ViewerDescriptor.createViewer(ViewerDescriptor.java:63)
	at org.eclipse.compare.internal.CompareUIPlugin.getViewer(CompareUIPlugin.java:969)
	at org.eclipse.compare.internal.CompareUIPlugin.findStructureViewer(CompareUIPlugin.java:850)
	at org.eclipse.compare.CompareUI.findStructureViewer(CompareUI.java:312)
	at org.eclipse.compare.CompareEditorInput.findStructureViewer(CompareEditorInput.java:931)
	at org.eclipse.compare.internal.CompareStructureViewerSwitchingPane.getViewer(CompareStructureViewerSwitchingPane.java:84)
	at org.eclipse.compare.CompareEditorInput$10.getViewer(CompareEditorInput.java:715)
	at org.eclipse.compare.CompareViewerSwitchingPane.setInput(CompareViewerSwitchingPane.java:266)
	at org.eclipse.compare.internal.CompareStructureViewerSwitchingPane.setInput(CompareStructureViewerSwitchingPane.java:132)
	at org.eclipse.compare.CompareEditorInput.feedInput(CompareEditorInput.java:747)
	at org.eclipse.compare.CompareEditorInput.createContents(CompareEditorInput.java:555)
	at org.eclipse.compare.internal.CompareEditor.createCompareControl(CompareEditor.java:462)
	at org.eclipse.compare.internal.CompareEditor.access$6(CompareEditor.java:422)
	at org.eclipse.compare.internal.CompareEditor$3.run(CompareEditor.java:378)
	at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
	at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	... 23 more
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.emf.compare (244).
	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:122)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 48 more
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.emf.compare.EMFComparePlugin.start() of bundle org.eclipse.emf.compare.
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
	... 57 more
Caused by: java.lang.RuntimeException: Enable to construct an AdapterFactory from the extension registered on org.eclipse.emf.compare.itemprovideradapterFactory
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryDescriptor.getAdapterFactoryFromExtPoint(RegisteredItemProviderAdapterFactoryDescriptor.java:156)
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryDescriptor.<init>(RegisteredItemProviderAdapterFactoryDescriptor.java:82)
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryRegistry.addExtension(RegisteredItemProviderAdapterFactoryRegistry.java:64)
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryRegistry.parseInitialContributions(RegisteredItemProviderAdapterFactoryRegistry.java:157)
	at org.eclipse.emf.compare.EMFComparePlugin.start(EMFComparePlugin.java:180)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
	... 63 more


Re: [EMF Compare] Graphical Representation [message #889096 is a reply to message #888959] Mon, 18 June 2012 20:04 Go to previous messageGo to next message
C. Thompson is currently offline C. Thompson
Messages: 23
Registered: May 2012
Location: Vancouver, BC
Junior Member
After further research I found that this is the predominant error that is causing a problem.

The first time I run EMF Compare after booting up Eclipse

eclipse.buildId=M20120208-0800
java.version=1.6.0_31
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

Error
Mon Jun 18 15:12:42 PDT 2012
An error occurred while automatically activating bundle org.eclipse.emf.compare (1263).

org.osgi.framework.BundleException: Exception in org.eclipse.emf.compare.EMFComparePlugin.start() of bundle org.eclipse.emf.compare.
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:463)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer$ModelStructureLabelProvider.<init>(ModelStructureMergeViewer.java:471)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer.createLabelProvider(ModelStructureMergeViewer.java:171)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer.initialize(ModelStructureMergeViewer.java:368)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer.<init>(ModelStructureMergeViewer.java:113)
	at org.eclipse.emf.compare.ui.viewer.structure.ParameterizedStructureMergeViewer.<init>(ParameterizedStructureMergeViewer.java:71)
	at org.eclipse.emf.compare.diagram.ui.mergeviewer.GMFStructureMergeViewer.<init>(GMFStructureMergeViewer.java:34)
	at org.eclipse.emf.compare.diagram.ui.mergeviewer.GMFStructureMergeViewerCreator.createViewer(GMFStructureMergeViewerCreator.java:33)
	at org.eclipse.compare.internal.ViewerDescriptor.createViewer(ViewerDescriptor.java:63)
	at org.eclipse.compare.internal.CompareUIPlugin.getViewer(CompareUIPlugin.java:969)
	at org.eclipse.compare.internal.CompareUIPlugin.findStructureViewer(CompareUIPlugin.java:850)
	at org.eclipse.compare.CompareUI.findStructureViewer(CompareUI.java:312)
	at org.eclipse.compare.CompareEditorInput.findStructureViewer(CompareEditorInput.java:931)
	at org.eclipse.compare.internal.CompareStructureViewerSwitchingPane.getViewer(CompareStructureViewerSwitchingPane.java:84)
	at org.eclipse.compare.CompareEditorInput$10.getViewer(CompareEditorInput.java:715)
	at org.eclipse.compare.CompareViewerSwitchingPane.setInput(CompareViewerSwitchingPane.java:266)
	at org.eclipse.compare.internal.CompareStructureViewerSwitchingPane.setInput(CompareStructureViewerSwitchingPane.java:132)
	at org.eclipse.compare.CompareEditorInput.feedInput(CompareEditorInput.java:747)
	at org.eclipse.compare.CompareEditorInput.createContents(CompareEditorInput.java:555)
	at org.eclipse.compare.internal.CompareEditor.createCompareControl(CompareEditor.java:462)
	at org.eclipse.compare.internal.CompareEditor.access$6(CompareEditor.java:422)
	at org.eclipse.compare.internal.CompareEditor$3.run(CompareEditor.java:378)
	at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
	at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: java.lang.RuntimeException: Enable to construct an AdapterFactory from the extension registered on org.eclipse.emf.compare.itemprovideradapterFactory
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryDescriptor.getAdapterFactoryFromExtPoint(RegisteredItemProviderAdapterFactoryDescriptor.java:156)
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryDescriptor.<init>(RegisteredItemProviderAdapterFactoryDescriptor.java:82)
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryRegistry.addExtension(RegisteredItemProviderAdapterFactoryRegistry.java:64)
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryRegistry.parseInitialContributions(RegisteredItemProviderAdapterFactoryRegistry.java:157)
	at org.eclipse.emf.compare.EMFComparePlugin.start(EMFComparePlugin.java:180)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
	... 62 more
Root exception:
java.lang.RuntimeException: Enable to construct an AdapterFactory from the extension registered on org.eclipse.emf.compare.itemprovideradapterFactory
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryDescriptor.getAdapterFactoryFromExtPoint(RegisteredItemProviderAdapterFactoryDescriptor.java:156)
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryDescriptor.<init>(RegisteredItemProviderAdapterFactoryDescriptor.java:82)
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryRegistry.addExtension(RegisteredItemProviderAdapterFactoryRegistry.java:64)
	at org.eclipse.emf.compare.internal.RegisteredItemProviderAdapterFactoryRegistry.parseInitialContributions(RegisteredItemProviderAdapterFactoryRegistry.java:157)
	at org.eclipse.emf.compare.EMFComparePlugin.start(EMFComparePlugin.java:180)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:463)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer$ModelStructureLabelProvider.<init>(ModelStructureMergeViewer.java:471)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer.createLabelProvider(ModelStructureMergeViewer.java:171)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer.initialize(ModelStructureMergeViewer.java:368)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer.<init>(ModelStructureMergeViewer.java:113)
	at org.eclipse.emf.compare.ui.viewer.structure.ParameterizedStructureMergeViewer.<init>(ParameterizedStructureMergeViewer.java:71)
	at org.eclipse.emf.compare.diagram.ui.mergeviewer.GMFStructureMergeViewer.<init>(GMFStructureMergeViewer.java:34)
	at org.eclipse.emf.compare.diagram.ui.mergeviewer.GMFStructureMergeViewerCreator.createViewer(GMFStructureMergeViewerCreator.java:33)
	at org.eclipse.compare.internal.ViewerDescriptor.createViewer(ViewerDescriptor.java:63)
	at org.eclipse.compare.internal.CompareUIPlugin.getViewer(CompareUIPlugin.java:969)
	at org.eclipse.compare.internal.CompareUIPlugin.findStructureViewer(CompareUIPlugin.java:850)
	at org.eclipse.compare.CompareUI.findStructureViewer(CompareUI.java:312)
	at org.eclipse.compare.CompareEditorInput.findStructureViewer(CompareEditorInput.java:931)
	at org.eclipse.compare.internal.CompareStructureViewerSwitchingPane.getViewer(CompareStructureViewerSwitchingPane.java:84)
	at org.eclipse.compare.CompareEditorInput$10.getViewer(CompareEditorInput.java:715)
	at org.eclipse.compare.CompareViewerSwitchingPane.setInput(CompareViewerSwitchingPane.java:266)
	at org.eclipse.compare.internal.CompareStructureViewerSwitchingPane.setInput(CompareStructureViewerSwitchingPane.java:132)
	at org.eclipse.compare.CompareEditorInput.feedInput(CompareEditorInput.java:747)
	at org.eclipse.compare.CompareEditorInput.createContents(CompareEditorInput.java:555)
	at org.eclipse.compare.internal.CompareEditor.createCompareControl(CompareEditor.java:462)
	at org.eclipse.compare.internal.CompareEditor.access$6(CompareEditor.java:422)
	at org.eclipse.compare.internal.CompareEditor$3.run(CompareEditor.java:378)
	at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
	at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)


Every subsequent error is as follows.

eclipse.buildId=M20120208-0800
java.version=1.6.0_31
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

Error
Mon Jun 18 17:02:19 PDT 2012
Unhandled event loop exception

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: org/eclipse/emf/compare/util/AdapterUtils)
	at org.eclipse.swt.SWT.error(SWT.java:4282)
	at org.eclipse.swt.SWT.error(SWT.java:4197)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/emf/compare/util/AdapterUtils
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer$ModelStructureLabelProvider.<init>(ModelStructureMergeViewer.java:471)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer.createLabelProvider(ModelStructureMergeViewer.java:171)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer.initialize(ModelStructureMergeViewer.java:368)
	at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer.<init>(ModelStructureMergeViewer.java:113)
	at org.eclipse.emf.compare.ui.viewer.structure.ParameterizedStructureMergeViewer.<init>(ParameterizedStructureMergeViewer.java:71)
	at org.eclipse.emf.compare.diagram.ui.mergeviewer.GMFStructureMergeViewer.<init>(GMFStructureMergeViewer.java:34)
	at org.eclipse.emf.compare.diagram.ui.mergeviewer.GMFStructureMergeViewerCreator.createViewer(GMFStructureMergeViewerCreator.java:33)
	at org.eclipse.compare.internal.ViewerDescriptor.createViewer(ViewerDescriptor.java:63)
	at org.eclipse.compare.internal.CompareUIPlugin.getViewer(CompareUIPlugin.java:969)
	at org.eclipse.compare.internal.CompareUIPlugin.findStructureViewer(CompareUIPlugin.java:850)
	at org.eclipse.compare.CompareUI.findStructureViewer(CompareUI.java:312)
	at org.eclipse.compare.CompareEditorInput.findStructureViewer(CompareEditorInput.java:931)
	at org.eclipse.compare.internal.CompareStructureViewerSwitchingPane.getViewer(CompareStructureViewerSwitchingPane.java:84)
	at org.eclipse.compare.CompareEditorInput$10.getViewer(CompareEditorInput.java:715)
	at org.eclipse.compare.CompareViewerSwitchingPane.setInput(CompareViewerSwitchingPane.java:266)
	at org.eclipse.compare.internal.CompareStructureViewerSwitchingPane.setInput(CompareStructureViewerSwitchingPane.java:132)
	at org.eclipse.compare.CompareEditorInput.feedInput(CompareEditorInput.java:747)
	at org.eclipse.compare.CompareEditorInput.createContents(CompareEditorInput.java:555)
	at org.eclipse.compare.internal.CompareEditor.createCompareControl(CompareEditor.java:462)
	at org.eclipse.compare.internal.CompareEditor.access$6(CompareEditor.java:422)
	at org.eclipse.compare.internal.CompareEditor$3.run(CompareEditor.java:378)
	at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
	at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	... 22 more


Re: [EMF Compare] Graphical Representation [message #890222 is a reply to message #889096] Thu, 21 June 2012 09:57 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent Goubet
Messages: 1625
Registered: July 2009
Senior Member
Hi,

This means that someone is extending EMF Compare with its own adapter factory ... without respecting the API's contract. The error message could do with a little enhancement though.

This most likely comes from Papyrus, but I cannot isolate a plugin that could cause this behavior.

Laurent Goubet
Obeo
Re: [EMF Compare] Graphical Representation [message #890287 is a reply to message #890222] Thu, 21 June 2012 14:34 Go to previous messageGo to next message
C. Thompson is currently offline C. Thompson
Messages: 23
Registered: May 2012
Location: Vancouver, BC
Junior Member
I tried a fresh install of Eclipse. Then I installed EMF Compare, from p2. And when I run EMF compare on 2 *.ecorediag files. they just show an XML comparison. How can I get it to show a graphical comparison.
Re: [EMF Compare] Graphical Representation [message #903297 is a reply to message #890287] Wed, 22 August 2012 19:45 Go to previous messageGo to next message
C. Thompson is currently offline C. Thompson
Messages: 23
Registered: May 2012
Location: Vancouver, BC
Junior Member
Bump
Re: [EMF Compare] Graphical Representation [message #903333 is a reply to message #903297] Thu, 23 August 2012 04:14 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent Goubet
Messages: 1625
Registered: July 2009
Senior Member
Hi,

We are currently focusing on EMF Compare 2... and that version does not yet have any graphical comparison support. Please double-check that this is not what you installed. Then, you will need to add ecorediag to the list of extensions that should be compared through EMF Compare (I believe that when you tell "XML comparison", you talk about textual comparisons). This is done through the preference page : "Window > preferences > General > Content Types" where you will find a "EMF Compare" content type.

Laurent Goubet
Obeo
Re: [EMF Compare] Graphical Representation [message #903499 is a reply to message #903333] Thu, 23 August 2012 19:58 Go to previous messageGo to next message
C. Thompson is currently offline C. Thompson
Messages: 23
Registered: May 2012
Location: Vancouver, BC
Junior Member
Thank you for the support.
I have fixed it now I am using EMF compare V1.3
Re: [EMF Compare] Graphical Representation [message #1061375 is a reply to message #903499] Fri, 31 May 2013 07:27 Go to previous messageGo to next message
Goood Guy is currently offline Goood Guy
Messages: 126
Registered: September 2011
Senior Member
Hi,
I am developing under Juno SR2 and tried to install EMF Compare 2.1 RC2.
Now, when I tried to compare two EMF models, the compare UI stays blank and I got the same error as mentioned above

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: org/eclipse/emf/compare/util/AdapterUtils)

Papyrus 0.9.2.v201304040454 is also installed.

Any chance to get it running?
Re: [EMF Compare] Graphical Representation [message #1061379 is a reply to message #1061375] Fri, 31 May 2013 07:47 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent Goubet
Messages: 1625
Registered: July 2009
Senior Member
Hi,

This exception is caused by Papyrus 0.9. The class org.eclipse.emf.compare.util.AdapterUtils does not exist in EMF Compare 2. I'd wager that Papyrus 0.9.2 was providing its own extension to EMF Compare without restricting the upper bound of their version range for the EMF Compare dependency.

You have to find out which plugins from papyrus contribute to EMF Compare, and disable/uninstall them.

Laurent Goubet
Obeo
Re: [EMF Compare] Graphical Representation [message #1061688 is a reply to message #1061379] Mon, 03 June 2013 09:48 Go to previous messageGo to next message
Goood Guy is currently offline Goood Guy
Messages: 126
Registered: September 2011
Senior Member
it has nothing to do with Papyrus, but with the plugins

org.eclipse.emf.compare.diff
o.e.e.c.match
o.e.e.c.ui

that remain in the system after upgrading from emf compare 1.3 to 2.1

edit: maybe the plugins were not removed because I previously added them to the depencencies of my custom plugin.

[Updated on: Mon, 03 June 2013 10:05]

Report message to a moderator

Re: [EMF Compare] Graphical Representation [message #1061694 is a reply to message #1061688] Mon, 03 June 2013 10:03 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26000
Registered: July 2009
Senior Member
Isn't what you're saying the same as saying "I have a problem when I
upgrade EMF compare from 1.3 to 2.1" and isn't Laurent saying "that's
because the version of Papyrus your using relies on classes deleted in
2.x and hence won't work with 2.x". So how is what you're saying in
contradiction with what you've been told?

On 03/06/2013 3:48 PM, Goood Guy wrote:
> it has nothing to do with Papyrus, but with the plugins
>
> org.eclipse.emf.compare.diff
> o.e.e.c.match
> o.e.e.c.ui
>
> that remain in the system after upgrading from emf compare 1.3 to 2.1
>
Re: [EMF Compare] Graphical Representation [message #1061700 is a reply to message #1061694] Mon, 03 June 2013 10:21 Go to previous messageGo to next message
Goood Guy is currently offline Goood Guy
Messages: 126
Registered: September 2011
Senior Member
I simply just do not want to confirm that Papyrus relies on the mentioned packages. I do not know and I did not check this.

I can confirm that I started to implement a custom match engine under EMF compare 1.3 and included the mentioned packages.
Re: [EMF Compare] Graphical Representation [message #1061705 is a reply to message #1061700] Mon, 03 June 2013 10:36 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26000
Registered: July 2009
Senior Member
So do you have further questions or are you just sharing observations?

On 03/06/2013 4:21 PM, Goood Guy wrote:
> I simply just do not want to confirm that Papyrus relies on the
> mentioned packages. I do not know and I did not check this.
>
> I can confirm that I started to implement a custom match engine under
> EMF compare 1.3 and included the mentioned packages.
>
Re: [EMF Compare] Graphical Representation [message #1061709 is a reply to message #1061705] Mon, 03 June 2013 10:52 Go to previous messageGo to next message
Goood Guy is currently offline Goood Guy
Messages: 126
Registered: September 2011
Senior Member
just sharing observations Wink
Re: [EMF Compare] Graphical Representation [message #1061958 is a reply to message #1061709] Wed, 05 June 2013 03:18 Go to previous message
Laurent Goubet is currently offline Laurent Goubet
Messages: 1625
Registered: July 2009
Senior Member
Ed, "good guy",

Updating from EMF Compare 1.3 to EMF Compare 2.1 may indeed leaves traces behind. The three plugins you've juste mentionned have been deleted from the 2.* stream, so p2 will not see anything to update with them, and it most likely won't delete them (and we did not have upper bounds on the dependencies toward our own plugins, so p2 won't see the incoherence either).

All of this means that there are two "ui" things left : o.e.e.c.ui, providing the old UI contributions, and o.e.e.c.ide.ui, providing the new UI contributions. This all boils down to : EMF Compare cannot be updated from 1.3 to 2.1, it must be uninstalled first. That, we did not expect.

Thanks for sharing the observations, now I'll have a better understanding of this issue should it arise again.

Laurent Goubet
Obeo
Previous Topic:How to customize EMF URIs for references
Next Topic:[CDO] CDOViewInvalidationEvent: can I know which CDOSession provoked it?
Goto Forum:
  


Current Time: Fri Aug 22 17:49:01 EDT 2014

Powered by FUDForum. Page generated in 0.03324 seconds