Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Perspective of visualized Structural Differences Window
Perspective of visualized Structural Differences Window [message #136074] Thu, 07 May 2009 09:04 Go to next message
Diana Schultheis is currently offline Diana SchultheisFriend
Messages: 6
Registered: July 2009
Junior Member
Hey guys,

in the latest EMFCompare-Version I've found a problem. My approach was to
compare both files with "Compare with". That worked! However the both
windows where the structural differences of both files are visualized are
interchanged. The original file is always on the right, the changed one is
on the left. That's why the result in the structural differences window
always shows the inverted result as what happened. Here is an example for
that case:

Structural differences:
"NodeXY has been added"

Visualization of structural differences:
Left window: Right window:
File has 3 nodes File has 3 nodes plus an added one

Does anybody has an idea how I could change the windows with the
visualized differences or is that a bug?

Thanks a lot for your help.

Cheers,
Diana
Re: Perspective of visualized Structural Differences Window [message #136087 is a reply to message #136074] Thu, 07 May 2009 09:21 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------080809070209030006090109
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi Diana,

The inversion problem only existed in earlier 0.8 versions. What is the
version you're currently using? The latest is 0.9M7. If you're using the
latest version and still have a problem with inverted viewers, could you
send us your test files?

Note however that when comparing two files from within the workspace,
there is no "original" or "changed" : Compare takes them in alphabetical
order and displays the first on the left, the second on the right. This
means if you have "testv1" and "testv2" (v2 being obviously the changed
one and v1 the original), eclipse compare will feed EMF Compare "v1" as
the left (semantically, the changed) and "v2" as the right
(semantically, the original). This leads to differences inversions.

That doesn't seem like what you described though as you described a bug
that should have been fixed since a long time.

Regards,

Laurent Goubet
Obeo

Diana Schultheis a
Re: Perspective of visualized Structural Differences Window [message #136111 is a reply to message #136087] Thu, 07 May 2009 12:53 Go to previous message
Diana Schultheis is currently offline Diana SchultheisFriend
Messages: 6
Registered: July 2009
Junior Member
Hi Laurent,

I'm currently using version 0.9m7 that's why I'm wondering why it doesn't
work. Furthermore I know that EMF opens both files in alphabetical order.
I considered that.
I just saw that there is a little mistake in my example.

Structural differences:
"NodeXY has been deleted"

Visualization of structural differences:
Left window: Right window:
File has 3 nodes (v1,original file) File has 3 nodes plus an
added one = 4 nodes (v2,changed file)

EMF always takes the file on the left side as the master file as you can
see in the screenshots ("1 differences in resource
Copy%20of%20001ohneDecisionAuto").


I expected that result:

Structural differences:
"NodeXY has been added"

Visualization of structural differences:
Left window: Right window:
File has 3 nodes (v1,original file) File has 3 nodes plus an
added one = 4 nodes (v2,changed file)

I would like to know what is the change in the changed file (here: "1 node
added").


There is something else I hope I can mention here. As you can see in the
file "Remove Node.gif". Instead of 1 difference, emf compare detects 3
differences which seems still be a problem with EFeatureMaps.

Cheers,
Diana
Re: Perspective of visualized Structural Differences Window [message #620929 is a reply to message #136074] Thu, 07 May 2009 09:21 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------080809070209030006090109
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi Diana,

The inversion problem only existed in earlier 0.8 versions. What is the
version you're currently using? The latest is 0.9M7. If you're using the
latest version and still have a problem with inverted viewers, could you
send us your test files?

Note however that when comparing two files from within the workspace,
there is no "original" or "changed" : Compare takes them in alphabetical
order and displays the first on the left, the second on the right. This
means if you have "testv1" and "testv2" (v2 being obviously the changed
one and v1 the original), eclipse compare will feed EMF Compare "v1" as
the left (semantically, the changed) and "v2" as the right
(semantically, the original). This leads to differences inversions.

That doesn't seem like what you described though as you described a bug
that should have been fixed since a long time.

Regards,

Laurent Goubet
Obeo

Diana Schultheis a
Re: Perspective of visualized Structural Differences Window [message #620931 is a reply to message #136087] Thu, 07 May 2009 12:53 Go to previous message
Diana Schultheis is currently offline Diana SchultheisFriend
Messages: 6
Registered: July 2009
Junior Member
Hi Laurent,

I'm currently using version 0.9m7 that's why I'm wondering why it doesn't
work. Furthermore I know that EMF opens both files in alphabetical order.
I considered that.
I just saw that there is a little mistake in my example.

Structural differences:
"NodeXY has been deleted"

Visualization of structural differences:
Left window: Right window:
File has 3 nodes (v1,original file) File has 3 nodes plus an
added one = 4 nodes (v2,changed file)

EMF always takes the file on the left side as the master file as you can
see in the screenshots ("1 differences in resource
Copy%20of%20001ohneDecisionAuto").


I expected that result:

Structural differences:
"NodeXY has been added"

Visualization of structural differences:
Left window: Right window:
File has 3 nodes (v1,original file) File has 3 nodes plus an
added one = 4 nodes (v2,changed file)

I would like to know what is the change in the changed file (here: "1 node
added").


There is something else I hope I can mention here. As you can see in the
file "Remove Node.gif". Instead of 1 difference, emf compare detects 3
differences which seems still be a problem with EFeatureMaps.

Cheers,
Diana
Previous Topic:Perspective of visualized Structural Differences Window
Next Topic:When will Mint0.8 and Search0.7 M7 releases be available?
Goto Forum:
  


Current Time: Sat Apr 27 03:22:07 GMT 2024

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

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

Back to the top