VSS Project Checkouts action fails

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

 

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.

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:

 

$/Dot Net 2.0/Products/MCS/Database Scripts/4-MCSGlobal:
MCSGlobal_8.1.1.0_Upgrade.sql                     Benjamins                                         Exc   5/09/08  3:10p  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                                   Justinm                                           Exc   6/11/07  1:47p  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                               Phillipc                                          Exc   4/09/08 10:04a  C:\Dev\Dot Net 2.0\Products\POS8\BusinessLayer\Transaction\LineTotals

$/Dot Net 2.0/Products/POS8/BusinessLayer/UnitTest/LineTotal:
LTTest.vb                                         Phillipc                                          Exc   3/09/08 11:53a  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                                      Hungbui                                           Exc   5/09/08 10:58a  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                                     Veroniquev                                        Exc   7/07/08  9:29a  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

 

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.

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.

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