Version Control & Team Deployment
Team deployment and the use of version control is discussed in two Sparx Systems white papers, available on the Sparx Systems web site:
A brief summary of the process is provided below:
- Install your version control product.
- Create a version control repository.
- Create a version control project to be used with your Enterprise Architect project, and check-out a working copy of the project into a local folder. (You must do this for every team member that is accessing the version controlled packages, whether you are using a single shared model or each team member stores his own private copy of the model.)
- Within Enterprise Architect, define a version control configuration to provide access to the working copy files. Again, each user must do this on their own workstation, as the details are stored within the Windows registry.
- Configure packages within the Enterprise Architect model for version control. That is, apply version control to individual packages.
- Check-out and check-in packages as required.
The name of the version control configuration must be the same across all machines. That is, all version control access to a given Enterprise Architect package must be through version control configurations with the same name, across all models and all users. (It is possible to use multiple version control configurations within the same model, so different packages can still use different version control configurations within the same model, as long as any given package is always accessed via the same version control configuration.)
The easiest way to perform step 4, (throughout the team), is to have one user set up version control on the model and then share that model with the rest of the team.
- In Shared Model deployment, all users connect to a single instance of the model database, so the model is shared automatically.
- In Private Model deployment, it is easiest to distribute copies of the original model (after version control has been set up) to all other members of the team.
Whenever you open a model (Private or Shared) that uses a version control configuration that is not yet defined on your workstation, Enterprise Architect prompts you to complete the definition for that configuration. This typically means specifying the local working copy directory and maybe choosing the version control project associated with this Enterprise Architect project.
Once this has been done, the version controlled packages that already exist in the model are ready for use.
Version Control Branching
Currently, Enterprise Architect does not support Version Control Branching. Work-arounds to achieve similar results might be possible for certain version-control products; contact Sparx Support for advice:
- Registered users - http://www.sparxsystems.com/registered/reg_support.html
- Trial users - firstname.lastname@example.org.