Book a Demo

Author Topic: I have a big Problem in Comparision btw Baseline  (Read 7255 times)

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
I have a big Problem in Comparision btw Baseline
« on: July 12, 2013, 10:56:50 pm »
I have a big Problem in Comparison btw Baseline and Model ,
so I did the following :
  String changes_ofXML = rep.GetProjectInterface().DoBaselineCompare(model.PackageGUID, baseline.Guid, "");

he gave me an string with many elements but one of them is element e1 with status "changes"
but when I search inside the baseline I could not find that element.
I can not understand the situation.

please help me.

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
Re: I have a big Problem in Comparision btw Baseli
« Reply #1 on: July 12, 2013, 11:04:05 pm »
And how can I implement DoBaselineCompare by SQL Query instead..

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: I have a big Problem in Comparision btw Baseli
« Reply #2 on: July 13, 2013, 09:19:48 am »
You mean how to find the baselines? Comparison via SQL is not possible.

q.

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: I have a big Problem in Comparision btw Baseli
« Reply #3 on: July 14, 2013, 04:21:02 am »
Hello Michael,

if you find a way to easily compare different releases with easy to understand results I would be happy if you publish it.

So far: With EA I don't know any reasonable way to compare versions. Yes, technically it's no problem. In my opinion the results are poor.

I know a compare of models isn't that easy as to compare text.

May be it's a task for Addin supplier to deliver such features.

Kind regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
Re: I have a big Problem in Comparision btw Baseli
« Reply #4 on: July 15, 2013, 08:24:03 pm »
Thanks,
The Problem here is that I found a compare xml file with status for the element E1 with changed , but it does not found in Baseline, but only in Model,
What is the problem then..
That is the Idea , I search about.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: I have a big Problem in Comparision btw Baseli
« Reply #5 on: July 15, 2013, 09:33:18 pm »
When it's in the model but not in the baseline then it has been added after creating the baseline.

q.

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
Re: I have a big Problem in Comparision btw Baseli
« Reply #6 on: July 15, 2013, 10:07:48 pm »
Yes it means : it has been added ,,
but why the status is 'Changed'
that is the problem :
I used 'DoBaselineCompare' to get baseline as a XML String....

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: I have a big Problem in Comparision btw Baseli
« Reply #7 on: July 16, 2013, 07:28:19 am »
Well, an addition is a change. But you're right. EA should point that out as addition instead. Report a bug and cross fingers....

q.

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
Re: I have a big Problem in Comparision btw Baseli
« Reply #8 on: July 19, 2013, 11:06:34 pm »
Ok,so what should I do ,I mean I have a big tasks to do , how can I deal with this problem. ?
if is there any suggestions.


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: I have a big Problem in Comparision btw Baseli
« Reply #9 on: July 20, 2013, 08:51:36 am »
I told you what I'd do. Better than waiting for a miracle to happen.

q.

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
Re: I have a big Problem in Comparision btw Baseli
« Reply #10 on: July 22, 2013, 10:33:14 pm »
"qwerty"
please talk with me without nervous ,, :)
 ;)
{Report a bug and cross fingers....}

Is this the answer that what you try to say

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: I have a big Problem in Comparision btw Baseli
« Reply #11 on: July 22, 2013, 11:03:21 pm »
Bug report was the point. Cross fingers is something you might consider. A prayer might also help. Sorry for being a bit sarcastic. But in the last years the bug fix rate for EA is decreasing. It wasn't always that bad, especially around 2004/2005 with version 3.5. But since about version 6 it got really bad.

Good luck!

q.

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
Re: I have a big Problem in Comparision btw Baseli
« Reply #12 on: July 22, 2013, 11:40:42 pm »
Ohh !
I am trying to find the error but I could not , I am going to compare baselines together ,
So If the problem again occurs , I should test some thing different ?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: I have a big Problem in Comparision btw Baseli
« Reply #13 on: July 23, 2013, 06:18:53 am »
Well, the baseline compare did never really work. For a long time it was completely unusable. Then over a long time period Sparx improved it. But it never got flawless. Basically I decided not to use it any longer.

There is also another issue with such a comparison in general. If you remove an element or a relation (or if you add/change them) this puts the whole model into a new context. And a simple compare does not point out the reason for the change. This is a task for the modeler to point it out in the recent set of diagrams. While text comparison (and thus version control) for source code is a simple and effective mechanism, UML models behave completely different.

Did you know that the current width of railroad tracks is based on the wheel distance of ancient Roman wagons? Nobody ever thought about WHY things are useful. They simply keep on with things they are used to. Similar things happen to IT people. UML models and source code are both IT related. Switch off your brain. Be conservative. Human thinking...

q.
« Last Edit: July 23, 2013, 06:20:23 am by qwerty »

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
Re: I have a big Problem in Comparision btw Baseli
« Reply #14 on: July 26, 2013, 09:51:47 pm »
I have Model / Baseline in EA Program

but the question how does he compare between Model and Baseline

is there ID for comparing the same Element in both XML Files ?

What is the Idea ?