General discussion

Locked

how to get Latest Version from VSS through java

By pink_bhatia ·
Hi,
We are using VSS as central repository. Any one from our team can check-in & check-out various files. Everytime we need a latest file ,we use "Get Latest Version" cmd for this.

But now we want to have that latest version to be stored at the specified location using JSP [or simple java code]

Can any one tell me how can we do this.
Thanks,
Pinky

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

VSS through Java

by bgrissom In reply to how to get Latest Version ...

On your VSS server there is a Users directory. And in there, there is a directory for every user of your VSS installation. Find the directory that corresponds with the user ID you are using through Java at the command line. In that directory you will find an SS.INI file. Edit it to contain lines that look like this:
[$/ProjectDirectory/AnySubDir]
Dir (ServerName) = e:\CheckoutDir\SubDir
Dir (ServerName2) = e:\CheckoutDir\SubDir
The ServerName can be any server you want and the drive letter is an actual drive letter on the target server. When you do a checkout, Source Safe looks in your user directory for this SS.INI file to see if there is anything specify and will use it. Hope this helps, good luck.

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums