Skip to Content
This example uses Eclipse 2.1.2, VSS 6.0D, and VSS Plugin version 1.5 for Eclipse 2.1 (http://sourceforge.net/projects/vssplugin/).

Step 1: Create your VSS database if you don’t have one yet, preferrably on a file share that is backed up. You’ll have to add users as well.

Step 2: Install the VSS plug in.

Step 3: Create a new Eclipse project if you don’t have one yet. Go into VSS, create a new project, and check your files and folders into it. Alternatively, grab the root folder of your eclipse project and drag it into the $/ root folder in VSS. Let it check out your files.

Step 4: Delete the following files from VSS: *.class and .project. On your local filesystem, clear the read only bit (right click on the files in explorer and select properties)

Step 5: Right-click on your project in Eclipse. Select Team -> Share project. Select “VSS Configuration Wizard” and press next. Enter your username and password. Under VSS Directory, put the path to your VSS database (you can use the browse button). Leave the source dir as /. The Relative mount point can be tricky — $/ is the root, so it should be something like $/MyProject/. Press Next and Finish.

Step 6: Right-click on your project again. Under Team, select Refresh. Do the same again except select Update State.

Step 7 (Optional): Under window, select Other -> VSS Plugin menu and shortcut keys. This will add the VSS Plugin tab in your Eclipse perspective.

There you go — Eclipse should now be talking to VSS.

To check something out, right click on the file, and go Team -> Check Out. Alternatively you can just start editing the file and Eclipse will ask you if you would like to check it out.

Enjoy!

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. Robert Neher
    Why do you recommend this plug-in? In my opinion, VSS is worst you can get in terms of version management.
    SAP offers with DTR best-of-breed in version and configuration management even compared to heavy weights CM Synergy, ClearCase, Harvest, Dimensions.

    BR
    Robert

    (0) 
    1. Jason Mitchell Post author
      I agree completly – VSS is terrible.
      However, our .NET guys all use it and therefore we use it. My preference is to use CVS (being an open source guy) but if you have to use VSS with eclipse, here you go.
      (0) 

Leave a Reply