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
  #2  
Old 02-14-2007, 12:10 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,032
It would probably be better if Vault.exe assumed localhost if not specified, since not all commands accept a -host flag. We'll add to our list to pass -host localhost (for commands that require it) if not specified in the action itself.

For now, you can add a temporary Run Script action (VBScript) to your project and rebuild it to change all Vault steps with a blank Host field to 'localhost':

Code:
' change all blank Host fields on Vault steps to localhost
For i = 0 To vbldStepCount-1
  For Each objStep In Application.Project.Steps(i)
    If objStep.Action = "Vault" Then
       If Len(objStep.Property("Host")) = 0 Then
         objStep.Property("Host") = "localhost"
      End If
    End If
  Next
Next
Alternatively, you could update the Host property to a macro reference (i.e., "%VAULT_SVR%") and create a project macro with that name and a value of localhost (to make it easier to point your project to another server if needed in the future).
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 08:03 AM.


Copyright © 1999-2023 Kinook Software, Inc.