Book a Demo

Author Topic: Inconsistent XMI exports  (Read 4784 times)

Wowbagger

  • EA User
  • **
  • Posts: 69
  • Karma: +0/-0
    • View Profile
Inconsistent XMI exports
« on: August 29, 2009, 07:51:32 am »
I am having problems with keeping the exported XMI files at all consistent across my developers.

We are all running EA 7.5, but with minor build version differences.

We are all supposedly exporting our files as XMI 1.1.

However, sometimes the files get exported with tags like:

<UML:TaggedValue tag="iscontrolled" value="0"/>

other times with values like
<UML:TaggedValue tag="iscontrolled" value="FALSE"/>

Also the system emits time stamp data that often seems to be changing, even if nothing in the model has changed - again, creating needless noise in git and making merges fail on a regular basis.

This plays merry hob with the version control system's ability to differentiate real changes from noise, and needlessly creates conflicts when we do merges.

When can I do to get the tool to export things with as much consistency between exported files as possible, so that my version control system can actually do its job when we merge?

Also, to deal with the inevitable real merge problems, I've tried working with the Package Properties->Compare XMI command, but it seems to fail for any XMI format other than XMI 1.1 - am I doing something wrong here?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Inconsistent XMI exports
« Reply #1 on: August 29, 2009, 01:48:24 pm »
This I think I can diagnose...

Would I be right in assuming that some develoeprs are using Access Repository (*.EAP) and others are using Server RDBMS repositories (such as MSSQL)?

If so, then the problem is caused by the differing technologies - particularly relating to booleans.  I've been hit by the same sort of problem in Automation...  (trying to access the DB)

If you change the *.EAP files to show booleans as ints, the problem should go away...

EA doesn't do a complete job of isolating itself from differing RDBMS technologies.  Mind you it's a "tough gig"...

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Inconsistent XMI exports
« Reply #2 on: August 31, 2009, 04:28:57 pm »
Quote
Also, to deal with the inevitable real merge problems, I've tried working with the Package Properties->Compare XMI command, but it seems to fail for any XMI format other than XMI 1.1 - am I doing something wrong here?

No EA only support XMI 1.1 for the compare utility.

Geert