Book a Demo

Author Topic: VersionControl Configuration -- Overview  (Read 3311 times)

lubos

  • EA User
  • **
  • Posts: 101
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
VersionControl Configuration -- Overview
« on: June 03, 2008, 05:32:16 pm »
This is not a question, but an overview of setting VersionControl as we have discovered.
We have EA models in SQL database and use ClearCase to version it, we have  quite a lot streams as well as users working with EA.
We had a lot of problems, when users had set the VersionControl inproperly, because  checkouts from an old version of XML file damaged the whole EA database.
We tried to find out the way how to set the configuration for each user automatically. Here are our results, I hope it will help someone :

1)
"c:\Documents and Settings\LOGIN\Application Data\Sparx Systems\EA\paths.txt"

file containing mapping of prifile name to root directory

2)
[HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\OPTIONS]
"VCConfigs"= ...

users registry informing which profile has been mapped to an root directory by an user. Only if the profile is mentioned here, EA looks up to the file paths.txt for the mapping

3)
table  "t_genopt"  attribute "Option" in EA project database

contains list of profiles used by EA project ..this list influence the enumeration of profiles in VersionControl setting dialog in EA.

4)
table t_package attribute "PackageFlags" part "VCCFG= .. ;"

mapping to XML file for given package

5)
table t_package attribute "IsControlled"

flag (0|1) informing whether the package is VersionControlled


We have written an internal tool setting the proper configuration for each user, matching our concrete environment and thus eliminating damages of our models.

Any suggestions and other discoveries are welcome ;-)



lubos

  • EA User
  • **
  • Posts: 101
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: VersionControl Configuration -- Overview
« Reply #1 on: June 03, 2008, 05:46:12 pm »
small correction:

4)
table t_package attribute "PackageFlags" part "VCCFG= .."

the name of profile used by given package

XML file mapping is in attribute XMLPath