Connecting a project to TFS

Once Eclipse is open and you can see your projects in Project Explorer.

Select the project you want to add to TFS by right-clicking on it and select the Team Project option and then Share Project, the Share Project Dialog will open … select Team Foundation Server

2010-07-31_15.25.40

Once TFS is selected, accept the agreement by checking the box.

2010-07-31_15.25.52

Next, if you have a Product Key, enter it here, otherwise check the box to use a full featured trial (it is a 30 day trial)

2010-07-31_15.26.12

Provide the details to your TFS environment

2010-07-31_15.30.56

Once all values are provided, if you have worked with TFS 2010 and Team Explorer before, the following will look familiar.  Select the TPC and Project to connect to

2010-07-31_15.31.56

Then you get to create and name the TFS workspace to be used (the sync between TFS and Eclipse)

2010-07-31_15.32.14

Then you will select the location for your project to reside within the Project/Branch location

2010-07-31_15.32.30

2010-07-31_15.32.50

Once the location is set and there is a local and server path defined, click Finish.

2010-07-31_15.33.02

What will you see once this is complete?

2010-07-31_15.34.38

As you can see, it is all reporting pending changes, you can then right click the project and you will see this:

2010-07-31_15.35.10

If you are good with the checking in of the changes, proceed and this is the process to enroll a project into TFS from Eclipse using Team Explorer Everywhere.