chanmy8
(chanmy8)
April 16, 2009, 5:07am
1
Hi,
I failed to get source file by label using Vault Get Label action. It returned error as below. Please advice.
Running Vault with command line : GETLABEL -user "kkchan" -password "******" -host "xxx.xxx.xxx.xxx:xxxx" -repository "dotNET" -makewritable -labelworkingfolder "C:\FlexHR\Trunk\Mainline\" "$/FlexHR/Trunk/Mainline/" "Ver6.0.10" usage: GETLABEL repository_item label [labelpath]
Thank you
Vincent
(Vincent Parrett)
April 16, 2009, 7:15am
2
You need to give us more to work with. Which version and build of FinalBuilder? Which version of Vault?
chanmy8
(chanmy8)
April 16, 2009, 8:46am
3
Hi,
FB - 6.20 (download today)
Vault server is version 4.1.4.18402
davincij
(SVanRees)
May 12, 2009, 7:16am
5
I have the same problem, not sure if it's a vault problem or not. I am still playing with it, I have FinalBuilder 6.3 and Vault 4.1.1
Running Vault with command line : GETLABEL -user "admin" -password "******" -host "LorisApps" -repository "FileNexus" -merge overwrite -setfiletime current -makewritable -labelworkingfolder "C:\ServerCode\Trunk\" "$/FileNexus/Trunk/" "FileNexus V6.3.2.6124"
usage: GETLABEL repository_item label [labelpath]
davincij
(SVanRees)
May 12, 2009, 7:54am
6
Figured it out Finalbuilder puts the command line incorrectly together...
GETLABEL "$/FileNexus/Trunk/" "FileNexus V6.3.2.6124" -user "admin" -password "******" -host "LorisApps" -repository "FileNexus" -merge overwrite -setfiletime current -makewritable -labelworkingfolder "C:\ServerCode\Trunk"
Also vault freaks out if the path as trailing backslash.
Hi Davinci, > Figured it out Finalbuilder puts the command line incorrectly together How exactly is it not correct? I’ve tested the action here as well as checking against the help at ttp://download.sourcegear.com/misc/vault/help/client/clc.htm#GETLABEL and the command line parameters are being passed in the correct order. Here are the command arguments that were used when I tested the action using Vault 4.1.4: GETLABEL -user “paul” -password “******” -host “vaultdemo.sourcegear.com ” -repository “Repository A” -merge overwrite -setfiletime current -makewritable -labelworkingfolder “C:\VaultWD” “$/a8i/” “My Label” Regards, Paul.
chanmy8
(chanmy8)
May 20, 2009, 10:33am
8
Hi,
Do you mean it is not able to be reproduced?
Hi Chan, We were not able to reproduce it here, if you are able to let us know what is incorrect in the command arguments being passed to Vault we’ll be able to put a fix in. Regards, Paul.
chanmy8
(chanmy8)
May 27, 2009, 6:06am
10
Hi, SourceGear.com has pointed me the mistake, try to remove the trailing "" and “/” of labelpath and labelworkingfolder. GETLABEL -user “kkchan” -password “******” -host “xxx.xxx.xxx.xxx:xxxx” -repository “dotNET” -makewritable -labelworkingfolder “C:\FlexHR\Trunk\Mainline” “$/FlexHR/Trunk/Mainline” “Ver6.0.10”
Tested it works. My current workaround is use string to exclude the “/” and ""