#1
|
|||
|
|||
SourceSafe Get/Label/Checkout only workspace related files
Hi,
We have number of VC6 and VB projects in one SourceSafe branch. When I have to get single workspace I open VC and run "Open Workspace", then press "Source Control" button, and voila! only the workspace related files are copied to my local disk. Getting the whole branch from the SourceSafe is unacceptable option, since it's too large. Meanwhile I have to get the .dsw file, parse it for the set of .dsp files, and then parse each one of them to get the needed sources -- too cumbersome way for the automatic building tool. |
#2
|
|||
|
|||
In the 'Projects and/or files to process' field of the SourceSafe action, you could specify the sub-project of the entire branch that includes only the source files for that workspace.
|
#3
|
|||
|
|||
The problem is that the structure of the SourceSafe tree doesn't reflect the structure of the Visual Studio projects -- there are common header files, some sources are cross referenced between different workspaces etc.
On the other hand we can't afford getting the whole SourceSafe branch in order to compile only 10% of the source files. |
#4
|
|||
|
|||
If the necessary source files are limited to a small number of project trees, you could add a get step for each of those.
It's surprising that getting all the source code takes so long. Are you connecting to the database over a WAN or dial-up? If not, you may want to see if you can speed up your gets (archiving old history and ensuring you are not using the Contents file comparison method, for starters, or consider moving the database to a faster server or network pipe or migrating to a faster source control system). There's nothing built into VBP to get just the files referenced in a workspace. Instead of the SourceSafe step, you may be able to create a Run Program step that invokes %DEVENV_NET% and invokes a command which executes a macro to open the solution, get latest, and exit the IDE (we don't use the VSS IDE integration so can't offer much help on this). Some links that may help: http://msdn.microsoft.com/library/de...neSwitches.asp http://msdn.microsoft.com/library/de...iveactions.asp http://groups.google.com/groups?hl=e...3DN%26tab%3Dwg |
Thread Tools | |
Display Modes | Rate This Thread |
|
|