Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Suggestions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-04-2004, 12:31 PM
Peter Peter is online now
Registered User
 
Join Date: 01-04-2004
Posts: 3
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.
Reply With Quote
  #2  
Old 01-04-2004, 02:53 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Reply With Quote
  #3  
Old 01-05-2004, 02:39 AM
Peter Peter is online now
Registered User
 
Join Date: 01-04-2004
Posts: 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.
Reply With Quote
  #4  
Old 01-05-2004, 11:38 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 09:10 PM.


Copyright © 1999-2023 Kinook Software, Inc.