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 #129057] Mon, 25 August 2008 19:08 Go to next message
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)
Re: Turning off Comparison with EMF-Compare [message #129069 is a reply to message #129057] Tue, 26 August 2008 08:35 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1881
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------020807000508020009000704
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi Ede,

There currently is no way of forcing a text comparison within eclipse
3.4 with EMF Compare installed and unfortunately, we are stuck on this
issue as long as https://bugs.eclipse.org/bugs/show_bug.cgi?id=201116
and https://bugs.eclipse.org/bugs/show_bug.cgi?id=220457 are around.

Yet I wonder... the exception stack trace you provided would imply that
no diff has been produced by the comparison engine and we've never
observed such behavior. I will try and investigate on gmfgen comparison
ASAP.

Cheers

Laurent Goubet
Obeo


Ede Bauer a
Re: Turning off Comparison with EMF-Compare [message #620262 is a reply to message #129057] Tue, 26 August 2008 08:35 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1881
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------020807000508020009000704
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi Ede,

There currently is no way of forcing a text comparison within eclipse
3.4 with EMF Compare installed and unfortunately, we are stuck on this
issue as long as https://bugs.eclipse.org/bugs/show_bug.cgi?id=201116
and https://bugs.eclipse.org/bugs/show_bug.cgi?id=220457 are around.

Yet I wonder... the exception stack trace you provided would imply that
no diff has been produced by the comparison engine and we've never
observed such behavior. I will try and investigate on gmfgen comparison
ASAP.

Cheers

Laurent Goubet
Obeo


Ede Bauer a
Previous Topic:Turning off Comparison with EMF-Compare
Next Topic:Modify the EMF generated-base editor?
Goto Forum:
  


Current Time: Thu Apr 02 17:19:22 GMT 2020

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

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

Back to the top