Download Enterprise Architect User Guide

Transcript
29
Version Control Setup | Version Control with TFS
workspace on the server.
This topic covers configuring version control using the TFS command line client. To configure version control
with the TFS MSSCCI client, please follow the instructions in the Version Control with SCC 11 topic.
The following preliminary steps should be performed within TFS on each PC and for each user, before making
any attempt to define a Version Control Configuration within Enterprise Architect 29 that uses TFS.
Each user must set up a separate workspace for use in version control in Enterprise Architect, containing a
single local working folder on their own machine that is mapped to a Source Control folder on the server.
When initializing the connection to TFS, Enterprise Architect issues the command tf get. If the Local Working
Copy path specified in Enterprise Architect's version control configuration is mapped through a TFS
workspace that also maps many other working folders to their corresponding Source Control folders, TFS can
take a long time as it proceeds to update the files in all of those folders. Enterprise Architect might appear to
freeze when it initializes the connection to TFS, whilst it waits for TFS to complete the tf_get command and
hand back program control.
Note:
To see a video demonstration of setting up a TFS project for version control, go to
http://www.sparxsystems.com.au/resources/demos/settinguptfs/TFS%20Project-Workspace%20Setup.htm.
5.5.1 Connect an Enterprise Architect Model to Version Control using TFS
Having set up TFS and created or otherwise opened your model, you can configure the model for version
control under TFS. To do this, follow the steps below:
1. Open or create the Enterprise Architect model to place under version control.
2. Select the Project | Version Control | Version Control Settings menu option. The Version Control
Settings dialog displays.
3. Click on the New button, in the Unique ID field enter a suitable name, then select the TFS radio button.
Version Control Within UML Models Using Enterprise Architect