Book a Demo

Author Topic: Initial version control setup for new users  (Read 4273 times)

Martin Walke

  • EA User
  • **
  • Posts: 51
  • Karma: +0/-0
    • View Profile
Initial version control setup for new users
« on: June 10, 2010, 10:56:00 pm »
Hi all,

I'm a little confused about what is needed for a new user to access a model which is under version control.

I have set up Subversion on a server and added a model to its control but reading the 'instructions' it would appear that I should not add the EAP file.

I can understand the principles of adding the XML files but then how do I add the model to Subversion without adding the EAP file.

I have followed the various videos and online documents that talk about setting up Subversion but feel there's a bit of a hole when it comes to how to allow new users to have their own private copy.

Martin

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: Initial version control setup for new users
« Reply #1 on: June 11, 2010, 03:14:23 am »
Martin,

The model is the set of XMI files.  It sounds like you have checked the packages into Subversion already through EA's version control interface.  Each user now needs to set up a working copy of the XMI files on his or her computer (through a Subversion client, e.g., TortoiseSVN).  Then he or she can open the project file (.eap), which you can provide by putting it on a server (shared file) or e-mailing it (or by some other means).  Then the user can right-click on a controlled package in the project and select Package Control....Get All Latest from the pop-up menu to update the packages in the project.

Paul

Martin Walke

  • EA User
  • **
  • Posts: 51
  • Karma: +0/-0
    • View Profile
Re: Initial version control setup for new users
« Reply #2 on: June 11, 2010, 06:32:04 pm »
Paul,

Thanks for that [smiley=thumbsup.gif].

It was the step about the EAP being sent/available seperately that I was missing. Although it all seems to work with the EAP being under Subversion's control as well, I had noticed the warning  and was, sort-of, left in the dark when a 'work-around' wasn't offered in the next breath! :-/

So the way I see it now is that, we have a structure on the local hard disk that holds the XML files that 'map' onto the structure of the EAP file.

If that's correct then it makes perfect sense now about not modifying the XML/EAP outside of EA. I'm used to a more integrated environment like Visual Studio and VSS so I've already got my head around the fact that after changes I have to manually submit my local changes back to the server. Thanks for clearing it up.

One last question though, what's the point of the 'private copy' check box in the Version control settings dialog box? Do I need to bother with it? :-/

Cheers
Martin

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: Initial version control setup for new users
« Reply #3 on: June 12, 2010, 03:20:22 am »
This is explained in the user guide: http://www.sparxsystems.com/uml_tool_guide/model_management/configureversioncontrolwith.htm.

We configure our models as shared here.
« Last Edit: June 12, 2010, 03:22:02 am by pauljlotz »

Martin Walke

  • EA User
  • **
  • Posts: 51
  • Karma: +0/-0
    • View Profile
Re: Initial version control setup for new users
« Reply #4 on: June 14, 2010, 06:41:25 pm »
Thanks Paul.

I guess in my situation, as currently we're not using DBMS only the .EAP, I'll need to check it - which is what I thought originally.

Cheers
Martin