I am working on extending the VSSGET task for my organisation. 
The requirements are like this - 

1) We give Ant a .txt file containing a list of file-names and versions to
get from VSS the DEV sourcesafe database.
   This new task should go through the .txt file and invoke VSSGET for each
file-name.

2) Then I need to check-in these files to another VSS sourcesafe database.

My question is how can I make use of the VSSGET class to set the name of the
file to get?
The API has methods like -

 void setDate(java.lang.String date) 
          Set the stored date string  
 void setLabel(java.lang.String label) 
          Set the labeled version to operate on in SourceSafe  
 void setLocalpath(Path localPath) 
          Set the local path. 
 void setRecursive(boolean recursive) 
          Set behaviour recursive or non-recursive 
 void setVersion(java.lang.String version) 
          Set the stored version string  
 void setWritable(boolean argWritable) 
          Set behaviour, used in get command to make files that are 'got'
writable 

I can make use of setVersion(), but, why is'nt there a setFileName(String
fileToGet) method?
Is there any alternate way to do this?

Regards.
Vineet Bhatia

Reply via email to