Book a Demo

Author Topic: Advanced properties messing up Compare  (Read 4009 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Advanced properties messing up Compare
« on: July 08, 2009, 04:24:05 pm »
Hi,

I'm in the process of merging a "shared" model that was replicated in different models back into one single model.
Obviously, over time, there are some differences between the various "copies" of this shared model, but most of it it still the same.
I'm trying to use the compare utility to find the differences between the package in my model and an xmi export of this same package from another model.
The problem is that most of the classes come up as changed. When I inspect the changes I found that the only field that is different is the "Advanced Properties", but I'm not sure what exaclty is kept there and how to interpret it.
If I manually compare the classes in the two models I cannot find anything different about them.
Here is an example the difference on the "Advanced Property" field of a class.

From model 1:
Code: [Select]
$XREFPROP=$XID={254FB558-630B-4185-88A9-79D03A267CC4}$XID
$NAM=CustomProperties$NAM
$TYP=element property$TYP
$VIS=Public$VIS
$DES=@PROP=@NAME=isActive@ENDNAME
@TYPE=Boolean@ENDTYPE
@VALU=@ENDVALU
@PRMT=@ENDPRMT
@ENDPROP
$DES
$CLT={0751D80E-16CD-459d-9F18-628E7E5FA3F3}$CLT
$SUP=<none>$SUP
$ENDXREF
$XREFPROP=$XID={371C62C7-54F9-42b0-9891-C921F7308F2A}$XID
$NAM=Stereotypes$NAM
$TYP=element property$TYP
$VIS=Public$VIS
$PAR=0$PAR
$DES=@STEREO
Name=type
GUID={07B9FF09-13A6-461f-AD53-3CB48FF4FA24}
@ENDSTEREO
$DES
$CLT={0751D80E-16CD-459d-9F18-628E7E5FA3F3}$CLT
$SUP=<none>$SUP
$ENDXREF

and the same from the baseline (model 2 xmi file):
Code: [Select]
$XREFPROP=$XID={254FB558-630B-4185-88A9-79D03A267CC4}$XID
$NAM=CustomProperties$NAM
$TYP=element property$TYP
$VIS=Public$VIS
$DES=@PROP=@NAME=isActive@ENDNAME
@TYPE=Boolean@ENDTYPE
@VALU=@ENDVALU
@PRMT=@ENDPRMT
@ENDPROP
$DES
$CLT={0751D80E-16CD-459d-9F18-628E7E5FA3F3}$CLT
$SUP=<none>$SUP
$ENDXREF

Does anyone know if there is a way to ignore the differences in the advanced properties, or how to manipulate them so that they are the same in both models?

PS: I'm using 7.5 v844

Thanks,

Geert

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: Advanced properties messing up Compare
« Reply #1 on: July 09, 2009, 12:16:07 pm »
Hello Geert,
This is a new option in the Baseline Compare Options - "Suppress Advanced Properties". This will be available in the 846 build.

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Advanced properties messing up Compare
« Reply #2 on: July 09, 2009, 01:06:50 pm »
Actually, I believe this option is already out there in build 845.  Can you upgrade, and then try selecting the Package Control | Manage Baselines menu option, and then click on the Options button on the Manage Baselines dialog. See if Suppress Advanced Properties is at the bottom of the right-hand column of options.

I'm not quite sure what you want to do Geert - I assume that you want to make the Advanced Properties the same before you do the comparison, so that the report is not stuffed full of changes only to Advanced Properties. I don't know about that.  However, if you have an item in the report with changes to the Advanced Properties, you can double-click on the item and display a dialog that highlights precisely what the differences are. You can then merge that change into the model if you want it, or ignore it if you want the model to stay as it is.

Reply if you are still not getting anywhere.
« Last Edit: July 09, 2009, 01:08:08 pm by RoyC »
Best Regards, Roy

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Advanced properties messing up Compare
« Reply #3 on: July 09, 2009, 01:54:50 pm »
Thanks guys, I'll try to upgrade and let you know whether I have the option to suppress the advanced properties.
I would still like to know how to interpret the advanced properties so I know why they are different in both models.

Geert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Advanced properties messing up Compare
« Reply #4 on: July 09, 2009, 06:24:44 pm »
I just upgraded to 845 and I can confirm that this version contains the option to suppress the advanced properties when comparing two models.
This already helps a lot, thanks!

Geert

Dorian Workman

  • EA User
  • **
  • Posts: 194
  • Karma: +0/-0
    • View Profile
Re: Advanced properties messing up Compare
« Reply #5 on: July 24, 2009, 04:00:37 am »
What do these Advanced Properties actually mean?  Is there a list or table somewhere that explains what each means?

Thanks.
<a href="http://www.linkedin.com/in/dorianworkman" ><img src="http://www.linkedin.com/img/webpromo/btn_liprofile_blue_80x15.gif" width="80" height="15" border="0" alt="View Dorian Workman

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Advanced properties messing up Compare
« Reply #6 on: July 24, 2009, 08:48:56 am »
On the Properties dialogs for many elements, connectors, features and other entities there is an Advanced button. There is also an Advanced menu option on many menus and context menus.

If you select these options, you can change various properties of the item you are working on. The Compare report identifies these changes.
Best Regards, Roy