I have built a Linux Ubuntu virtual machine as a client for working with Team Foundation Server 2010 , using Eclipse plug in (Team Explorer Everywhere 2010).
I’ll Guide you through the required steps to do that.
Needless to say, we need a TFS server (2005/2008/2010) as a prerequisite, to connect to later on.
1. Let us build a machine.
If you already have an ubuntu macine – use it and skip this phase.
I Recommend for this testing to build a virtual machine, using Oracle Virtual Box Software.
Why Virtual Box? I experienced problems working on a virtual ubuntu machine based on Microsoft Virtual PC: delays using mouse, duplicate keyboard key clicks, etc…
Download Virtual Box from Here, and install it.
Download the latest version of ubuntu as iso file from here.
Activate Virtual Box and create a new Linux Ubuntu virtual machine, using the iso file as an installation media.
Follow the exact instructions in this great post.
2. We have a machine. Now install eclipse.
Note: Do not use Ubuntu Software Center to install eclipse. I tried that. The installation succeeds, but then the TFS plug in fails to install.
Go to Eclipse downloads site, and choose your favorite edition to download. I’ve chosen the IDE for Java EE Developers. download the zip file, and just extract it on your Ubuntu machine. Now you can use, No installation needed.
3. Download Team Explorer Everywhere from here.
If you did not purchased it you have a one month trial period.
There are 3 downloads in that page:
InstallTEE.htm – a useful readme file
TFSEclipsePlugin-UpdateSiteArchive-10.0.0.zip – the Team Explorer plugin for Eclipse
TEE-CLC-10.0.0.zip – TF Command Line utility
Download the files. in order to install the Eclipse plug-in, extract from zip file is NOT needed.
4. Install the Plug-in.
Follow instructions on InstallTEE.htm in the paragraph titled “To install the plug-in”
5. Associate local projects to TFS
Follow instructions on InstallTEE.htm in the paragraph titled “To associate your local Eclipse workspace with the same Team Foundation Server workspace”
Be aware that “Workspace” has a dual meaning. Eclipse workspace is the local environment, while TFS workspace, well, You know.
These next instructions are taken from In InstallTEE.htm + my screen shots.
Project Explorer, right-click the project that you want to add to version control, point to Team, and then click Share Project.
The Team Project page of the Share Project to Team Foundation Server dialog box appears.
In the list of servers, click the instance of Team Foundation Server to which you want to connect.
If your server is not listed, click Servers, and then add the instance of Team Foundation Server to which you want to connect.
In the Team Project Collections list, click the team project collection that contains the team project to which you want to add your project.
In the list, click the Team Foundation Server workspace to which your project was previously connected, and then click Next.
We may have to edit TFS workspace definition…
And then we’ll choose the TFS folder to associate.
We can view pending changes (my java projects are not yet on TFS so we have “add” pending changes).
After Check in, The files are in TFS.
The Plug in we installed enables us to manage builds, use Source control Explorer:
and manage work items: