The command in the script is
Code: Select all
gvault getlabel $SRCSSDIR Build_${BUILDINGVER} -labelworkingfolder $TRIROOT/src -verbose -merge later -repository abc > $TRITOOLS/getcurrv.log 2>&1
Code: Select all
gvault getlabel $/trunk/RD/Codebase Build_6753 -labelworkingfolder f:/rdbitsvault/src -verbose -merge later -repository abc > f:/rdbitsvault/tools/getcurrv.log 2>&1
Now , however, it seems to first download files from the wrong repository folder (from a branch in fact), and after that I get an error message that seems to indicate that the paths are truncated - thus leading to failure... highlighted here
Could not find file "C:\temp\vaultTmp\debase/IFACE/ICApiFoundation_i.c"
It says debase instead of Codebase
Could it be a problem with the cache being messed up? Any other ideas? I cant explain its working at the command prompt but not from the script.
Here is a snippet of the client logging
Code: Select all
<vault>
<!-- Fetched $/branches/Common/8.0/RD/Codebase/ICAPI/ICApiDrawing/ICApiDrawing.idl -->
<!-- Fetched $/branches/Common/8.0/RD/Codebase/ICAPI/ICApiBase/ICAPIPrivate.idl -->
<!-- Fetched $/branches/Common/8.0/RD/Codebase/ICAPI/ICApiBase/enumDef.idl -->
<!-- Fetched $/branches/Common/8.0/RD/Codebase/ICAPI/ICApiBase/ICApiBase.idl -->
<more of the same>
<error>
Could not find file "C:\temp\vaultTmp\debase/IFACE/ICApiFoundation_i.c".
</error>
<exception>
System.IO.FileNotFoundException: Could not find file "C:\temp\vaultTmp\debase/IFACE/ICApiFoundation_i.c".
File name: "C:\temp\vaultTmp\debase/IFACE/ICApiFoundation_i.c"
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
at VaultClientOperationsLib.WorkingFolder.UpdateHiddenFileContentsFromFullFile(VaultClientFile file, String fullFile, Int64 targetVersion, UInt32 targetCRC, Int64 targetSize)
at VaultClientOperationsLib.WorkingFolder.UpdateHiddenFileAndSetBaselineVersion(VaultClientFile file, String fullFile, Int64 targetVersion, Int64 targetDisplayVersion, UInt32 targetCRC, Int64 targetSize)
at VaultClientOperationsLib.ClientInstance.ResolveUnknownFiles(UnknownFile[] unknownFiles)
at VaultClientOperationsLib.ClientInstance.CreateGetFileRequests(VaultClientFile[] files, Boolean forceLatest, Boolean forceDisplayVersion, Boolean dontCheckWorkingFolders, MakeWritableType makeWritable, Boolean isLabelGet, String labelSubItemPath, Boolean isLabelGetForSingleFile, Boolean bIsRetry)
at VaultClientOperationsLib.ClientInstance.CreateGetFileRequests(VaultClientFile[] files, Boolean forceLatest, Boolean forceDisplayVersion, Boolean dontCheckWorkingFolders, MakeWritableType makeWritable, Boolean isLabelGet, String labelSubItemPath, Boolean isLabelGetForSingleFile)
at VaultClientOperationsLib.ClientInstance.GetByLabel_GetData(VaultClientFile[] files, MakeWritableType makeWritable, SetFileTimeType setFileTime, MergeType merge, OverwritePrompt PromptData, Int64 labelID, String currentPathToLabelItem, String labelSubItemPath, Boolean isLabelGetForSingleFile)
at VaultClientOperationsLib.ClientInstance.GetByLabel_GetData(VaultClientFolder folder, Boolean recursive, MakeWritableType makeWritable, SetFileTimeType setFileTime, MergeType merge, OverwritePrompt PromptData, Int64 labelID, String currentPathToLabelItem, String labelSubItemPath)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommandGetLabel(String reposItem, String label, String labelSubItem)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)
</exception>
<result success="no" />
</vault>
[1] + Done(134) ?
692 Abort gvault