Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Compare] Comparing Strings
[EMF Compare] Comparing Strings [message #622021] Tue, 19 January 2010 16:24 Go to next message
Roland S. is currently offline Roland S.Friend
Messages: 36
Registered: September 2009
Member
Hi.

I'm using Xtext and am trying to compare 2 files to check if the serialization behaves as supposed to. If I remove or add model elements, everything works fine and the changes are recognized. But changes in attributes that hold Strings seem not to be compared. So if I edit the content of an attribute that is of kind String, these changes are not computed. Do you have any hint for this kind of problem?

Thanks,
Roland
Re: [EMF Compare] Comparing Strings [message #622024 is a reply to message #622021] Wed, 20 January 2010 11:48 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.
--------------010502010701050103000600
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Roland,

That would look like a bug ... But it is unlikely. The name of an EClass
is itself an EAttribute of type String, and a changed name is properly
detected as a difference by EMF Compare.

Can you be more precise as to how you trigger this issue?

Laurent Goubet
Obeo

Roland S. wrote:
> Hi.
>
> I'm using Xtext and am trying to compare 2 files to check if the
> serialization behaves as supposed to. If I remove or add model elements,
> everything works fine and the changes are recognized. But changes in
> attributes that hold Strings seem not to be compared. So if I edit the
> content of an attribute that is of kind String, these changes are not
> computed. Do you have any hint for this kind of problem?
>
> Thanks, Roland


--------------010502010701050103000600
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"

YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyIj5PYmVvPC9hPg0KZW1haWw7 aW50ZXJuZXQ6
bGF1cmVudC5nb3ViZXRAb2Jlby5mcg0KdXJsOmh0dHA6Ly93d3cub2Jlby5m cg0KdmVyc2lv
bjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------010502010701050103000600--
Previous Topic:How to generate code from GMF editor
Next Topic:[Teneo] Generate CDO - Hibernate OR Mapping
Goto Forum:
  


Current Time: Tue Apr 23 09:06:42 GMT 2024

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

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

Back to the top