Integrating with Microsoft TFS source control system with Eclipse was a cakewalk. The TFS plugin for eclipse would work like a charm. However Microsoft TFS can also be used with JDeveloper. This small blogpost will explain how can this be done.
Install the Team Version Extension by Help->Check for Updates in JDeveloper
Restart your JDeveloper for this change to take affect. Next go to the Versioning Tab and click on Team System-Connect to Team System. I certainly don’t know what system it connects to but this is required as the first step. This probably locates the Team Foundations workspaces currently available in your local machine.
Next Create a new folder as your workspace, i.e. C:\<tfs_workspace>
Microsoft Visual Studio TFS should be installed. Install it somewhere in your local machine.
Now you can create a new Workspace either through the TFS Explorer or through TF command line.
Create a workspace on your local computer.
|tf workspace -new -server:http://servername:8080 -login:user@DOMAIN,PASSWD <WorkspaceName>|
Create a working folder mapping to map this workspace to the folder you just created.
|tf workfold -map -workspace:MyWorkspace $/TeamProject/trunk/path/ C:\<tfs_workspace>|
Otherwise Navigate to Microsoft Visual Studio > Source Control Explorer
Link your workspace with TFS, click on Local Path as C:\<tfs_workspace>
Go to JDeveloper and click on the Versioning Tab once again. Go to Team System->Set Workspace and choose the workspace that you just created.
To use the newly created workspace, in JDeveloper start a new application, i.e. C:\<tfs_workspace><Application> and then create your projects under it.
You can check-in all pending edits in your application to the source control in TFS. Once you check it in the file is locked as Read-Only. Changes can be done only by first checking out the file. The screen shot below shows how a file that has a edit pending is checked in to TFS and the corresponding command generated in the JDeveloper Message log.