# VSS Project Checkouts action fails

**URL:** https://www.finalbuilder.com/forums/t/vss-project-checkouts-action-fails/954
**Category:** Discussion
**Created:** [September 4, 2008, 4:55am UTC](https://www.finalbuilder.com/forums/t/vss-project-checkouts-action-fails/954 "2008-09-04T04:55:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 4, 2008, 4:55am UTC](https://www.finalbuilder.com/forums/t/vss-project-checkouts-action-fails/954/1 "2008-09-04T04:55:14Z")

</div>

Hi all  
  
I used FinalBuilder before and am now evaluating version 6 of it for a different company.  
With the current build process I want to include a list of checked out files in the log file output.  
So I included a "VSS Project Checkouts" action with the following settings:  
- Recursive  
- Answer Yes to Input prompts  
- Log All Checkouts  
- Log to Variable  
Furthermore, I log the output into a variable so that I can add it to the log file.  
  
The first problem is that the action fails. This would not be so bad because I can just ignore the failure. But the output seems to be a bit messed up [see log below]. It is true that a project has been permanently destroyed but this should not be a problem.  
This is what I tried so far, with no success:  
- Playing with the flags Log All Checkouts, Answer Yes to Input prompts, Ignore Failure, Log to Variable with no different results (exept for an N if "Answer Yes..." is not ticked  
- I did the execute the same search with VSS gui and got no errors and only the "normal" checked out files.  
Do you know of any way that allows me to get rid of the strange messed up destroy-messages?  
  
Thanks  
  
Ben  
  
This is what FB logged from VSS:

> Executing external process: C:\Program Files\Microsoft Visual Studio\VSS\win32\ss.exe  
> Parameters: status "$/Dot Net 2.0/\*.\*" -I-Y -YBuildbot,\*\*\*\*\*\*\*\* -R "-O&C:\DOCUME~1\USERNAME\LOCALS~1\Temp\fb32.tmp"  
> Output from C:\Program Files\Microsoft Visual Studio\VSS\win32\ss.exe  
> File [$/Dot Net 2.0/Products/{FILE}] Is Checked Out by User : Benjamins  
> File [$/Dot Net 2.0/Products/MCS/{FILE}] Is Checked Out by User : Benjamins  
> File [$/Dot Net 2.0/Products/MCS/{FILE}] Is Checked Out by User : Benjamins  
> File [$/Dot Net 2.0/Products/POS PDA/{FILE}] Is Checked Out by User : Justinm  
> File [$/Dot Net 2.0/Products/POS8/{FILE}] Is Checked Out by User : Phillipc  
> File [$/Dot Net 2.0/Products/POS8/BusinessLayer/ $Buildbot Test has been destroyed, and can] Is Checked Out by User : not be rebuilt.  
> File [$/Dot Net 2.0/Products/POS8/BusinessLayer/UnitTest/LineTotal/Continue anyway?(Y/N)Y] Is Checked Out by User :   
> File [$/Dot Net 2.0/Products/POS8/BusinessLayer/UnitTest/LineTotal/Project $Buildbot Test has been destroyed, and can] Is Checked Out by User : not be rebuilt.  
> File [$/Dot Net 2.0/Products/POS8/BusinessLayer/UnitTest/LineTotal/Continue anyway?(Y/N)Y] Is Checked Out by User :   
> File [$/Dot Net 2.0/Products/POS8/BusinessLayer/UnitTest/LineTotal/Project $Buildbot Test has been destroyed, and can] Is Checked Out by User : not be rebuilt.  
> File [$/Dot Net 2.0/Products/POS8/BusinessLayer/UnitTest/LineTotal/Continue anyway?(Y/N)Y] Is Checked Out by User :   
> File [$/Dot Net 2.0/Products/POS8/BusinessLayer/UnitTest/LineTotal/Project $Buildbot Test has been destroyed, and can] Is Checked Out by User : not be rebuilt.  
> File [$/Dot Net 2.0/Products/POS8/BusinessLayer/UnitTest/LineTotal/Continue anyway?(Y/N)Y] Is Checked Out by User :   
> File [$/Dot Net 2.0/Products/POS8/BusinessLayer/UnitTest/LineTotal/Project $Buildbot Test has been destroyed, and can] Is Checked Out by User : not be rebuilt.  
> File [$/Dot Net 2.0/Products/POS8/BusinessLayer/UnitTest/LineTotal/Continue anyway?(Y/N)Y] Is Checked Out by User :   
> File [$/Dot Net 2.0/Products/POS8/Tools/POSLicenseGenerator/POSLicenseGenerator/My Project/licenses.licx] Is Checked Out by User : Veroniquev  
>   
> -  
> Files Processed successfully : 16  
> Files Not Processed : 0

&nbsp;

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [September 4, 2008, 5:34am UTC](https://www.finalbuilder.com/forums/t/vss-project-checkouts-action-fails/954/2 "2008-09-04T05:34:48Z")

</div>

Hi Ben,   
  
 Unfortunately all those messages in the log are output by the ss.exe tool - FinalBuilder is simply logging everything that ss.exe spits out.   
  
 One option is to write some script code (in the OnStatusMessage event) that will parse this text so that you can extract what you need.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 5, 2008, 9:25am UTC](https://www.finalbuilder.com/forums/t/vss-project-checkouts-action-fails/954/3 "2008-09-05T09:25:29Z")

</div>

Thanks for your answer, Tate.  
  
It seems, though, that FinalBuilder does re-layout the output by vss, which would probably look much better in most cases, but for my case (with these destroyed projects) it messes up the output somehow.  
  
This is what I did:  
I ran the ss.exe in the command line using the same input parameters as Final Builder logged in the output, and got a different output:

&nbsp;

> $/Dot Net 2.0/Products/MCS/Database Scripts/4-MCSGlobal:  
> MCSGlobal\_8.1.1.0\_Upgrade.sql&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Benjamins&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exc&nbsp;&nbsp; 5/09/08&nbsp; 3:10p&nbsp; C:\DEV\DOT NET 2.0\PRODUCTS\MCS\DATABASE SCRIPTS\4-MCSGlobal  
>   
> $/Dot Net 2.0/Products/POS PDA/POS PDA/POS PDA Cab/Debug:  
> POS PDA Cab.inf&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Justinm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exc&nbsp;&nbsp; 6/11/07&nbsp; 1:47p&nbsp; C:\Dev\Dot Net 2.0\Products\POS PDA\POS PDA\POS PDA Cab\Debug  
>   
> $/Dot Net 2.0/Products/POS8/BusinessLayer/Transaction/LineTotals:  
> LineTaxComponent.vb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Phillipc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exc&nbsp;&nbsp; 4/09/08 10:04a&nbsp; C:\Dev\Dot Net 2.0\Products\POS8\BusinessLayer\Transaction\LineTotals  
>   
> $/Dot Net 2.0/Products/POS8/BusinessLayer/UnitTest/LineTotal:  
> LTTest.vb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Phillipc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exc&nbsp;&nbsp; 3/09/08 11:53a&nbsp; C:\Dev\Dot Net 2.0\Products\POS8\BusinessLayer\UnitTest\LineTotal  
> Project $Buildbot Test has been destroyed, and cannot be rebuilt.  
> Continue anyway?(Y/N)Y  
> Project $Buildbot Test has been destroyed, and cannot be rebuilt.  
> Continue anyway?(Y/N)Y  
> Project $Buildbot Test has been destroyed, and cannot be rebuilt.  
> Continue anyway?(Y/N)Y  
> Project $Buildbot Test has been destroyed, and cannot be rebuilt.  
> Continue anyway?(Y/N)Y  
> Project $Buildbot Test has been destroyed, and cannot be rebuilt.  
> Continue anyway?(Y/N)Y  
>   
> $/Dot Net 2.0/Products/POS8/Services/Integration Manager/BusinessLayer/IntegrationV2:  
> GLAccount.vb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hungbui&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exc&nbsp;&nbsp; 5/09/08 10:58a&nbsp; C:\Dev\Dot Net 2.0\Products\POS8\Services\Integration Manager\BusinessLayer\IntegrationV2  
>   
> $/Dot Net 2.0/Products/POS8/Tools/POSLicenseGenerator/POSLicenseGenerator/My Project:  
> licenses.licx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Veroniquev&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exc&nbsp;&nbsp; 7/07/08&nbsp; 9:29a&nbsp; C:\Dev\Dot Net 2.0\Products\POS8\Tools\POSLicenseGenerator\POSLicenseGenerator\My Project

This looks different and more cohesive than the output by finalbuilder (at least concerning the destroy-lines).  
I might use the Run DOS Command action using your params, but need to set two environment variables first (ssuser and ssdir). Perhaps that might work...  
  
Anyway, why does it fail the VSS Project Checkout action?  
  
Cheers  
  
Ben

&nbsp;

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [September 5, 2008, 10:35am UTC](https://www.finalbuilder.com/forums/t/vss-project-checkouts-action-fails/954/4 "2008-09-05T10:35:48Z")

</div>

Hi Ben   
  
 The re-ordering of the output is caused by us redirecting stdout and stderr separately, and the prompts get sent to stderr. We may be able to resolve that, I will look into that on monday. As for why it’s failing, we will need to see your project.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [September 8, 2008, 6:56am UTC](https://www.finalbuilder.com/forums/t/vss-project-checkouts-action-fails/954/5 "2008-09-08T06:56:17Z")

</div>

Hi Ben   
  
 The action does fail if any files are checked out, that is what it is intended to do. As for the re-ordered output, I wasn’t able to reproduce the problem here. I did some googling on the “Project $Buildbot Test has been destroyed, and cannot be rebuilt.” lines and that does seem to indicate some sort of issue with your vss database. I did try to reproduce that by deleting projects and files but I never saw that prompt, and without that it’s difficult to diagnose.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 8, 2008, 11:13am UTC](https://www.finalbuilder.com/forums/t/vss-project-checkouts-action-fails/954/6 "2008-09-08T11:13:54Z")

</div>

Hey Vincent   
  
 Now that you say this, it seems logical to fail if any files are still checked out… I thought the action was to just “list all the checkouts”.   
  
 As for the other problem… I googled a bit myself and found some vss issues, too. I haven’t had time to look into them yet, though.   
 I had just entered a “Test” project and destroyed it shortly after that (without adding any files).   
 Strange enough that the GUI does not come up with that error.   
 I might try using different project roots to see if it comes up with similar errors.   
  
 If I find anything useful, I will post it here.   
  
 Thanks for your help!   
  
 Ben
