Book a Demo

Author Topic: version control synchronisation  (Read 4689 times)

gpc

  • EA User
  • **
  • Posts: 111
  • Karma: +0/-0
    • View Profile
version control synchronisation
« on: October 24, 2007, 02:50:11 am »
Hi,
Is there any way to synchronise a project with the underlying xml packages? For example a project has a single package under version control and that package gets updated by someone else. I cannot see the changes even if the xml is synchronised to ToT.
I can only do a check-out followed by an undo-checkout to get the project updated. Is there another, better way?

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: version control synchronisation
« Reply #1 on: October 25, 2007, 09:37:30 pm »
Have you tried "Get latest" and "Get all latest"?
These are available only for private models (this setting is in Version Control Settings).
Peter

gpc

  • EA User
  • **
  • Posts: 111
  • Karma: +0/-0
    • View Profile
Re: version control synchronisation
« Reply #2 on: October 28, 2007, 12:43:40 am »
Hi,
Yes - I can switch the project to private and then do the get all latest, thanks. I'm still not sure why this feature is masked for shared projects? :(

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: version control synchronisation
« Reply #3 on: November 01, 2007, 03:12:57 pm »
Peter

gpc

  • EA User
  • **
  • Posts: 111
  • Karma: +0/-0
    • View Profile
Re: version control synchronisation
« Reply #4 on: November 01, 2007, 03:42:30 pm »
Hi Peter,
I guess that I don't really understand.
"If user1 checks-out and modifies a package within Enterprise Architect, user2, who also has this shared model open in Enterprise Architect, can see the changes to the model immediately."
How is this possible?
surely user2's view shows the imported xml package at the time when he last did a check out (in shared mode you can't see anything without checking out and then undoing the check out). user2 can't see user1's changes until user1 has checked them in and user2 performs another checkout + undo_checkout ???

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: version control synchronisation
« Reply #5 on: November 01, 2007, 04:17:51 pm »
See Version Control Integration in Resources section of Sparx web site.
Especialy have a look at the Shared model diagram in Appendix 1 "Version Control Deployment schemas".

The key point with shared version controlled models is, that there is
- one shared model
- and (usually) multiple Working copies of CVS repository.
« Last Edit: November 01, 2007, 04:18:30 pm by peter.zrnko »
Peter

gpc

  • EA User
  • **
  • Posts: 111
  • Karma: +0/-0
    • View Profile
Re: version control synchronisation
« Reply #6 on: November 01, 2007, 04:44:19 pm »
Thanks for the prompt Peter.
I'd skimmed through that doco before and obviously missed the subtle diffs between shared and private :-[. Thanks.