Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Turning off Comparison with EMF-Compare
Turning off Comparison with EMF-Compare [message #620261] Mon, 25 August 2008 19:08
Eclipse UserFriend
Originally posted by: edebauer.freenet.de

Hey out there,

i am currently trying to compare a gmfgen file with one from my
SVN-Repository. (via righ click on the file Compare With --> Latest from
Repository) , But i want to compare it with the standard Text Comparison
of Eclipse.

But it does not matter, whether i set the according Property within the
Preferences-->General-->Content Types. Everytime I start the comparison,
the EMF Compare framework is used instead. I have attached the first
part of the stack-trace at the end of this message

Although I've found some hints within the EMF Compare FAQ how to compare
every file with the text editor (adding all the content Types of EMF
Compare to Text within the Content Type Preference Page) all my efforts
were unsuccesful.

I am currently working with the Eclipse Modeling Tools (includes
Incubating components) Ganymede Package that i have downloaded just some
days before.

Have I missed something, or can anybody give me a hint what to do, so
that my gmfgen files from my local copy and the repository are compared
with the standard comparison editor from Eclipse?

Kind Regards,
Eduard Bauer



The problem with this EMF Compare framework is that it produces an
exception while Comparing:
java.lang.NullPointerException
at
org.eclipse.emf.compare.ui.ModelCompareInput.getDiffAsList(M odelCompareInput.java:195)
at
org.eclipse.emf.compare.ui.viewer.content.part.ModelContentM ergeTabFolder.getDiffAsList(ModelContentMergeTabFolder.java: 143)
at
org.eclipse.emf.compare.ui.viewer.content.part.diff.ModelCon tentMergeDiffTab.mapDifferences(ModelContentMergeDiffTab.jav a:469)
at
org.eclipse.emf.compare.ui.viewer.content.part.diff.ModelCon tentMergeDiffTab.setReflectiveInput(ModelContentMergeDiffTab .java:254)
at
org.eclipse.emf.compare.ui.viewer.content.part.ModelContentM ergeTabFolder.setInput(ModelContentMergeTabFolder.java:310)
at
org.eclipse.emf.compare.ui.viewer.content.ModelContentMergeV iewer.updateContent(ModelContentMergeViewer.java:691)
at
org.eclipse.compare.contentmergeviewer.ContentMergeViewer.in ternalRefresh(ContentMergeViewer.java:715)
at
org.eclipse.compare.contentmergeviewer.ContentMergeViewer.in putChanged(ContentMergeViewer.java:615)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:251)
at
org.eclipse.emf.compare.ui.viewer.content.ModelContentMergeV iewer.setInput(ModelContentMergeViewer.java:299)
Previous Topic:[Teneo] Error running Teneo (1.x) Dynamic.java example
Next Topic:Turning off Comparison with EMF-Compare
Goto Forum:
  


Current Time: Wed Apr 01 13:00:23 GMT 2020

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

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

Back to the top