Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting up a workspace using Team Explorer Everywhere on Linux

Im having trouble creating a workspace and downloading the files from a Team Foundation Server using the Team Explorer Everywhere command line client (TEE-CLC-10.0.0). I've gotten as far as creating workspace:

$ ../tfs/TEE-CLC-10.0.0/tf -login:secretUsername,secretPassword -server:http://secretHost:8080 workspace -new KOLOBI
Workspace 'KOLOBI2' created.

Then I want to download files from the server to my workspace:

$ ../tfs/TEE-CLC-10.0.0/tf -login:secretUsername,secretPassword -server:http://secretHost:8080 get -recursive -all -force .
An argument error occurred: Items must reside in a workspace that has been previously used on this computer.

I guess I'm missing one step which is to add local directories to the workspace or something like that. But I can't figure out how to do it to be able to download the files.

like image 810
Björn Lindqvist Avatar asked Aug 05 '11 15:08

Björn Lindqvist


1 Answers

You'll need to create working folder mappings between your local folder and the server items you wish to correspond to.

For example:

tf workfold -map -login:secretUsername,secretPassword -server:http://secretHost:8080 -workspace:KOLOBI '$/TeamProject/Project' '/home/me/project'

Then from the /home/me/project directory (or whatever you pick), you can just execute tf get .

like image 132
Edward Thomson Avatar answered Sep 21 '22 22:09

Edward Thomson