Book a Demo

Author Topic: Baseline  (Read 3208 times)

Fehma

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Baseline
« on: April 07, 2006, 12:54:51 am »
Hi there,

first of all, please excuse my bad english....

How can I change the Path where EA is Saving the Baselines ??

Thank you

M

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Baseline
« Reply #1 on: April 07, 2006, 07:50:48 am »
If you mean where does EA open and save projects by default, this is the Project Directory on the Tools / Options general panel.

You can also set the Files directory. This seems to be were EA looks for other stuff, perhaps support files for automation etc. The default - $EAPDIR - uses a variable substitution. Check the help file for more on this.
No, you can't have it!

Fehma

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Baseline
« Reply #2 on: April 08, 2006, 08:32:37 am »
Hey,

first of all "Thanks for the quick answer"
unfortunally I can't see how this is helping me... ( To many functionality here :-) )

When you Create a Baseline then EA is saving a "Snapshot" somewhere. This is what I want to control.

Can I somehow change this default Path !!!

Thanx

Marcus

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Baseline
« Reply #3 on: April 08, 2006, 03:50:00 pm »
Sorry about that, I somehow failed to read your original question exactly and answered something else. As you say, fast but useless...

According to the documentation EA saves the baseline within the model. It creates an XMI representation of the package (I don't know if it uses a special XMI dialect for this) and then compresses it. The resulting string is then stored someplace within the model. My best guess is that it is stored in one of the various memo fields in either the t_package or the t_object tables, since each baseline is associated with a package (remember that the root and view nodes are also packages), and each package also has an associated object (to represent the UML ModelElement entity that represents the package).

This may not help you at all if you really need to access the file. However, if you just need the string I can look into this and see if I can find the appropriate field, and perhaps how the XMI stream is compressed. You can then try grabbing the field through automation or via direct connection to the database and perform whatever magic you require.

Please let me know,
David
No, you can't have it!

Fehma

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Baseline
« Reply #4 on: April 10, 2006, 01:25:54 am »
Hi David,

thanx for the answer ;-)...

I can really use you answer.  I just wanted to make sure that the Baseline is somewhere in the Model File. Because I work also at home and I was unsure whether I have the baseline at home also....

Thousand Thanks

Marcus