Question on getting only necessary files and directories from VSS for building

Hi,

I'm using FinalBuilder to run automated daily builds. So each day the build directory is cleaned out and I do a fresh GET of the latest code from VSS using FinalBuilder. Since I'm not sure or sort out what files/directories are needed. I'm getting more files and directories than what VS2005 project and solution requires that I wanted to build. This takes up HUGE amount of disk space. (I'm archiving daily build directories)

This is what I like to accomplish:
Launch VS GUI and open the solution through source control (VSS). I click 'yes' when it prompted to get from VSS. It then automatically gets ONLY the NECESSARY files/directories. This is exactly what I wanted.

How can I do this in FinalBuilder?

Thanks,
-Wei


> Launch VS GUI and open the solution through source control (VSS). I click ‘yes’ when it prompted to get from VSS.
> It then automatically gets ONLY the NECESSARY files/directories. This is exactly what I wanted.

Hi Wei,

Sorry - FinalBuilder can’t do this as it doesn’t have the capability to send keystrokes to running applications.

Can’t you use multiple VSS actions to just get the files that you need?

I leave the original files, (especiall the file vssver.scc in each folder - this file keeps the information of files that VSS gets). When I do a new get, I gets only the new/different files. There is an explanation in the HELP of VSS (search for vssver.scc)
Daphna

When I launch VS GUI and open the solution through source control (VSS). It knows exactly what files are required to get. Is this functionality available in FinalBuilder?

Using multiple VSS actions to do this task is not appropriate. Need to find out exactly what files the solution requires and then getting them individually.

Thanks,
-Wei

Hi Wei,

No, unfortunately that functionality is part of Visual Studio’s internal SCC integration and we can’t get access to it. It may be possible for you to scan the .sln and .csproj files and automatically generate a list of files to get, but even that will be cumbersome.

I’d suggest, if possible, rearranging your project directories so you only have to get certain VSS projects, which contain the files for the solutions to build. That way, you can avoid calling Get on other project directories (such as your daily build backups.)

Also, not cleaning out your daily build directory (and just getting new/different files - as suggested by daphna) will dramatically cut down on the time it takes to Get from source control. Maybe you could only clean out the main build directories, not the daily build backup directories?

Regards,


Angus