Kinook Software Forum

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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-29-2004, 12:10 PM
mhouge mhouge is online now
Registered User
 
Join Date: 02-11-2004
Posts: 5
Error in Visual Build (using Vault)

Visual Build: version 5.3
Vault: version 2.02

It appears that Visual build is using the wrong command line argument when calling get through Vault's command line client.

Specifically, I am setting a step in Visual Build to do a "get" from Vault with the flag "overwrite all files regardless of comparison status" set.

When run, I receive an error: "unknown option: -overwrite".

I selected the "show command line constructed for call" option and it output the following:

"C:\Program Files\SourceGear\Vault Client\vault.exe" -host vault -user <user> -password <password> -repository "<repository>" get "<path in Vault>" -overwrite -setfiletime current -destpath "<local path>"

Looking in Vault's command line help, I was able to run the command with the following:

"C:\Program Files\SourceGear\Vault Client\vault.exe" -host vault -user <user> -password <password> -repository "<repository>" get "<path in Vault>" -merge overwrite -setfiletime current -destpath "<local path>"

Where "-merge overwrite" is the correct parameter.

For a workaround I can add this as an additional command line arg in Visual Build.

Is there a patch currently available, or are there plans to fix this?

thanks,
Mark
Reply With Quote
 


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 11:17 AM.


Copyright © 1999-2023 Kinook Software, Inc.