|
#1
|
|||
|
|||
OK, it seems that it's a question not to You but to Microsoft. VSS is really a strange thing.
As far as I can't perform the built-in "Get latest" step in the desired manner, I'm thinking of writing some kind of script that will recursively search through the VSS project tree, getting individual versions of each file one-by-one. As in my example above: Build 1.12.034 is: 1. MainModule.bas - 4. 2. frmMain.frm - 22. 3. clsMyClass.cls - 10. 4. MnProject.vbp - 7. Of course, I should store somewhere such table describing the structure of the build, but it's another question. Probably this will MS SQL Server 2000. So my question is: has your built-in script language enough capabilities to perform this task? I'll need smth. like this: Code:
For i = 1 To VSSItemsCollection.Count sVersion = GetVersionForBuild(VSSItemsCollection(i).FileName, "1.12.034") VSSItemsCollection(i).GetVersionFromVSS sVersion, sLocalFolder Next i Code:
sVersion = GetVersionForBuild("clsMyClass.cls", "1.12.034") Is such approach possible? And will it be possible to retrieve VSSItemsCollection (of a given project) from your script language? |
|
|