TFS Workspaces

In order to use TFS to provide version control of the packages in a model, you need to prepare a functional TFS workspace that can be accessed through an Enterprise Architect version control configuration within that model. You use the TFS workspace to map a local working folder on your PC to a Source Control Folder within a TFS project repository.

It is assumed that a Team Project that you can use to control your Enterprise Architect package files already exists. You create the TFS workspace through MS Visual Studio.

Map a local folder to a TFS Source Control Folder

Step

Action

See also

1

Connect to your TFS server.

From the main menu, choose View | Team Explorer.

 

 

2

From the main menu, choose View | Other Windows | Source Control Explorer.

 

 

3

From the main menu, choose Tools | Connect to Team  Foundation Server.

A prompt displays for you to log in to the Team Foundation server; another prompt then displays to choose an available Team Foundation server.

 

 

4

Choose an appropriate server and click on the OK button.

The selected Team Foundation Server is displayed in the Team Explorer pane.

The server's project hierarchy is displayed in the Source Control Explorer's Folders pane.

 

 

5

From the main menu, choose File | New | Team Project.

The New Team Project wizard opens.

 

 

6

Enter an appropriate name and description for the new Team Project.

Choose the option to create an empty source control folder.

 

 

7

Create a new Workspace.

In the Source Control Explorer, click on the drop-down arrow in the Workspace field, then choose Workspaces

The Manage Workspaces dialog is displayed.

 

 

8

Click on the Add... button.

The Add Workspace dialog is displayed.

 

 

9

Type in an appropriate name for the new workspace and, if required, type in a comment.

 

 

10

Click in the Source Control Folder column, then click on the Browse button to select a Source Control Folder.

Select the new folder that was created in step 6.

 

 

11

Click on the Browse button in the Local Folder column and create a new local folder.

This is the working copy folder into which Enterprise Architect exports the package files.

 

 

12

Click on the OK button.

The new workspace is created and saved.

The Add Workspace dialog closes.

 

 

13

Click on the OK button.

The Manage Workspaces dialog closes.

 

 

Notes

The local folder referenced in step 11 is the Working Copy Path that should be specified when defining an Enterprise Architect Version Control Configuration to use this TFS workspace

Learn more