Book a Demo

Author Topic: Version control problem.....!!!!!  (Read 3478 times)

johnm9

  • EA User
  • **
  • Posts: 52
  • Karma: +0/-0
    • View Profile
Version control problem.....!!!!!
« on: July 31, 2008, 01:51:55 pm »
2 questions:

(1) I have shared repository in DB and configured version control by TFS. When other user added a package to the repository (through checkin), the new package shown in my project browser has a little red dot.... I expect it to be shown with a normal version control icon (having a key symbol) in my project browser. What's wrong with it? How can I checkout that newly checkin package through EA?

(2) I don't know what setting I have made on a pop-up dialog, all packages added by others now shown in my project browser with a plain folder icon. I cannot change it and do any version control thing on it... how to resume the setting??


D. Miller

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Version control problem.....!!!!!
« Reply #1 on: July 31, 2008, 09:10:36 pm »
Question 1.
The little red dot is EA's way of telling you that there is a problem marrying up the location in TFS (or any source control) and the physical location of the XML file. Check in TFS where it is storing the new source contolled package <PackageName>.xml and does that line up with how things are set in EA.

Question2.
Are you saying that if you right click on your package you do not get the "Package Control>Configure" option shown?

My advice would be to use local repositories i.e. an EAP file running locally. The model will still be shared through you source control. This will be recovery of your model a great deal easier.

johnm9

  • EA User
  • **
  • Posts: 52
  • Karma: +0/-0
    • View Profile
Re: Version control problem.....!!!!!
« Reply #2 on: August 01, 2008, 11:10:19 am »
Thanks D. Miller.

So, if you are right, it seems to be a bug/missing feature.

Reason: When someone added a package to the model and checkin the model to the TFS version control, other's project browsers will show that a package file (the xml of the newly added package) is missing in your local version control directory. But there's no way for you to download that xml through EA.

In my experience, I must go TFS client to do "update latest files" to get that xml file from the version control server first and reload the project to fix the red doted package.

This is not a good integration at all. I wonder if the same problem exist for SCC / CVS ???

If yes, it should be improved by talking with TFS through SCC interface. Is that right?

D. Miller

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Version control problem.....!!!!!
« Reply #3 on: August 01, 2008, 06:13:23 pm »
At present though we are using TFS we are going through Microsoft's TFS-SCC client instead. We subsequently have found the following on TFS in the EA help (not on the TFS set-up page though!):

“Note: Although Enterprise Architect directly supports TFS through its command line interface, we recommend the use of Microsoft's TFS-SCC client instead.”


With regards to getting any changes. In a shared model they "should" be picked up straight away. If not try the following:

If you go through the menu options.

 Project>Version Control>Version Control Settings

You will get the Version Control Settings dialog box. At the top will be model settings. As a guess, as your model is shared the "This model is private" tick box is empty.

If you tick this box you will then be able to right click on your source controlled package and go Package Control>Get All Latest

This will then go to TFS and re import all the XMI files under source control including any new ones.  This will work so long as you don't have any packages with the little red dot.

You can then go back and un-tick the This model is private" tick box.

I hope this makes sense.  :-?
« Last Edit: August 01, 2008, 06:44:47 pm by DagMiller »