FinalBuilder Check-in File To SourceGear Vault problem

Hi,

I'm trying to use FinalBuilder to checkin a file to SourceGear Vault SCM.

The FinalBuilder gets the "latest version" of the software great from Vault.  Then the next step of the FinalBuilder is to check-back-in one of the resulting dlls.  I get no error (says successful from FinalBuilder), but the file does not appear to be checked-in to Vault.

To run a test, I added a file called junk.log to Vault, put it in a directory, and had the FinalBuilder project (disabled all other steps) "Check-in" the file to Vault.  Again in this case, FinalBuilder gave me no error, but junk.log did not appear to be checked in to Vault.

Attached is a screenshot showing the steps of this test.

Thoughts on what might the problem?

Thanks!

 

Hi Andy

We need more information (and your screenshot didn’t get uploaded). Which version of FinalBuilder and Vault are you using. What appears in the log in FinalBuilder? If you copy the command line from the log and run it on a command window what happens?

Hi Vincent,

Thanks for the response.

Using FinalBuilder Professional 6.2.0.1265, SourceGear Vault 4.1.4.18402.

 

Regarding the log, I see the "Build Log" that has the following item:

Running Vault with command line :
commit -user "XXXXX" -password "******" -host "XXX.XX.XXX.XX" -repository "SourceCode" "$/Production/Gear/Distribution/Debug/Grb.Gear.dll" "$/Production/Gear/Distribution/Debug/Grb.Gear.pdb" "$/Production/Gear/Distribution/Debug/junk.log"

I'm not sure I'm understanding, because this doesn't appear to be a command that could be run from a command window. Is there another log from which I can fetch a command-line executable entry?
 


On the attachement, I can't seem to get it to display in the forum. It appears that the file is successfully posted (here's a copy/paste from the forum posting page):

Current AttachmentsMy Files(1)
Upload
File Name File Size Create Thumbnail Insert Image Display Link? Delete
FinalBuilder_VaultFileCheckIn_FileCheckinSayin.jpg 65.84 KB

Thoughts on what I might be doing wrong? Are maybe attachments reviewed by the forum admin?

Hi Andy,

It looks like the forum software that we're using doesn't treat images the same as other file attachments, could you re-attach the image as a .zip archive? I've tried to reproduce the problem you're having with Vault but it's working as expected, the output that I've received is:


Vault Check In [ $/a8i ]
Status: Completed
Date: 18/05/2009
Time: 13:24:21:938
End: 13:24:38:089
Duration: 00:00:16:151

Action Messages:
Running Vault with command line : commit -user "paul" -password "******" -host "vaultdemo.sourcegear.com" -repository "Repository A" -comment "Hello World!" "$/a8i/New Text Document.txt" "$/a8i/Copy of New Text Document.txt" "$/a8i/Copy (2) of New Text Document.txt"
Preparing data to begin transaction
Beginning transaction
Check in $/a8i/New Text Document.txt
Check in $/a8i/Copy of New Text Document.txt
Check in $/a8i/Copy (2) of New Text Document.txt
Ending the transaction
Transaction completed successfully
Success


Could you re-post the entire output you receive from the Vault action so we can see what is being returned by the Vault command line?

Regards,
Paul.

Hi Paul,

Thanks for the note.

I've zipped the screenshot and attached.

I've also tried to find how to see the "entire output" that you refered to, but have not been able to figure out out to do that. Could you explain how I can see the "entire output"? (attached is a screenshot of the log output that I can see).

Cheers,

Andy

FinalBuilder_VaultFileCheckIn_FileCheckinSayin.zip (182.722 KB)LogScreenShot.zip (106.423 KB)

I've resolved the issue. The problem was that I was not setting the "working directory" (using a different FinalBuilder command) before doing the check in. So (I presume), the files were getting fetched from the default working directory, and the check-in was checking in the same (old) version of the file...so appeared that no files were checking in.

Thanks!

btw, still would be really helpful to know how to see the log you displayed:

Thanks!

 

e.g.

Vault Check In [ $/a8i ]
Status: Completed
Date: 18/05/2009
Time: 13:24:21:938
End: 13:24:38:089
Duration: 00:00:16:151

Action Messages:
Running Vault with command line : commit -user "paul" -password "******" -host "vaultdemo.sourcegear.com" -repository "Repository A" -comment "Hello World!" "$/a8i/New Text Document.txt" "$/a8i/Copy of New Text Document.txt" "$/a8i/Copy (2) of New Text Document.txt"
Preparing data to begin transaction
Beginning transaction
Check in $/a8i/New Text Document.txt
Check in $/a8i/Copy of New Text Document.txt
Check in $/a8i/Copy (2) of New Text Document.txt
Ending the transaction
Transaction completed successfully
Success

Hi Andy,

The output I pasted was just from the build log (select action -> right click -> copy), the reason why the output differs between what I pasted and what you see is that Vault does not output any information when you are checking in files that are not currently checked out (well that’s one case in which is doesn’t output anything, I’m sure there are other reasons).

Regards,
Paul.