Book a Demo

Author Topic: Use compare utility  (Read 4172 times)

Cisore

  • EA User
  • **
  • Posts: 67
  • Karma: +0/-0
    • View Profile
Use compare utility
« on: July 06, 2012, 06:06:07 pm »
Hi,

I would like to know if it's possible to use the compare utility (integrated to EA) without EA project.

(open it with command line with, as argument, the path of two XML file)

Thanks.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Use compare utility
« Reply #1 on: July 06, 2012, 08:48:22 pm »
No.

q.

Cisore

  • EA User
  • **
  • Posts: 67
  • Karma: +0/-0
    • View Profile
Re: Use compare utility
« Reply #2 on: July 06, 2012, 09:29:49 pm »
Aie, ... Ok.

So ... how can I merge two model that they are in version control (Perforce in my case ?!) What is the best process ?

Because, do this by reading XML files, it's not easy.

(Sorry if the answer is in the doc but I don't find it)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Use compare utility
« Reply #3 on: July 06, 2012, 09:45:07 pm »
Import one xmi file into a model and then compare it to the other xmi file.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Use compare utility
« Reply #4 on: July 06, 2012, 10:12:54 pm »
Beware of the pitfalls. The EA merge is by far not correct. It shows differences (a lot!) where actually none are present. This happens for connectors where it tells you that they are different. I found out and reported that ages ago. Unfortunately you have a lot of connectors.  So you don't see the real differences (in Germany we say: you don't see the wood in front of all the trees). So my advice: merge by communicating with the modellers.

q.

P.S. If you're curious: Import a medium size model from XMI then run a baseline compare to that XMI. EA will show differences.

Cisore

  • EA User
  • **
  • Posts: 67
  • Karma: +0/-0
    • View Profile
Re: Use compare utility
« Reply #5 on: July 06, 2012, 11:35:25 pm »
I had seen the problem with connectors !

( :-[ I'm sorry but I don't arrive to compare the model with an external file.

ps: the file is the root of one branch, to don't make the merge one file at the time. <- I don't know if its had its importance)
« Last Edit: July 06, 2012, 11:36:03 pm by Cisore »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Use compare utility
« Reply #6 on: July 07, 2012, 12:01:32 am »
Context of the package: Package Control/Compare with XMI file...

q.

Cisore

  • EA User
  • **
  • Posts: 67
  • Karma: +0/-0
    • View Profile
Re: Use compare utility
« Reply #7 on: July 07, 2012, 12:12:39 am »
I don't have a sub-menu "Compare with XMI file" in the menu "Package Control" ...

(I have "scan XMI and reconcile model" and "compare with controlled version" but it's not with an external file)

I find :

· Project Browser package context menu | Package Control | Compare with XMI File (package not under version control)

· Project Browser package context menu | Package Control | Compare with Controlled Version (package under version control)

« Last Edit: July 07, 2012, 12:40:59 am by Cisore »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Use compare utility
« Reply #8 on: July 07, 2012, 01:10:34 am »
That's the issue: you have the file under VC in this model. Create an empty model and import the XML via the usual way. Then you have the compare entry in the menu.

q.