How to integrate Microsoft VSS into Eclipse.
First you need a VSS environment:
a) Install VSS Client
b) Connect to VSS Repository
Of course you need Eclipse www.eclipse.org
a) Install Eclipse VSS Plugin into Eclipse:
From: Unzip VSS Plugin ‘c:\download\org.vssplugin_1.5.0-3.0-M%-compability.zip’
To: Your Eclipse Plugin Dir, for example: C:\dev\eclipse\plugins
b) Restart Eclipse
c) Eclipse – Show View – Team / Version Control / VSS
Recommended default properties:
Menu: WINDOW – PREFERENCES
Choose TEAM/VSS
Tab GENERAL
Click Checkbox: “Ask for comment on add/check-in”
Add existing VSS project into Eclipse
Project hierarchy should exist in VSS. Files should be checked-in.
Do in Eclipse:
a) Create New Project (simple)
b) Set project name the same as in VSS
c) On project CONTENTS set the personal VSS working directory. For example: C:\vss_workdir\project_A
d) Finish.
e) Right-click on the new Project and select TEAM – SHARE PROJECT
f) Enter VSS username, password and central VSS repository location.
Source Dir location is “/”
Set Relative Mountpoint to usual VSS Project name as for example $/project_A
g) Finish
h) Right-click on actual project and TEAM – REFRESH
All done. Happy working with VSS in Eclipse
Keywords in any Text Files
Following sample shows auto-replacing keywords in textfiles. This keywords will be replaced by vss on check-in. The special keyword “NoKeyword” stops vss replacing keywords:
–|**********************************************************
–| Application…….: SAMPLE
–| Developer………: Jacky Sample
–| File(VSS)………: $Archive: /Samp/source/obj1.sql $
–| Version(VSS)……: $Revision: 1 $
–| LastCheckIn(VSS)..: $Date: 16.04.04 15:30 $
–| LastChange(VSS)…: $Modtime: 16.04.04 15:30 $
–| Purpose………..: Objecttypes
–| Note…………..:
–|
–|*******************************************$NoKeywords: $
–| H I S T O R Y
–| User Datum Aktion
–| —– ———– ———————————
–| SAMO 16.04.2004 created new
–|********************************************************
… to be continued
Thios is really a wonderfull blog , I created connection btwn VSS server and the Eclipse using VSS plugin.
Thank very much really for the wonderfull articale,\
Bye