We are using Vault 3.5. It is integrated with CruiseControl 1.3 and Nant for CI. Lately Cruisecontrol is erroring out trying to do a getlatest from one of the directories under a newly created branch, whereas, the other directories under the same branch is ok. Following is the error from the CruiseControl log. Looks like CruiseControl is detecting the changed file, but it can't bring the file down to the build machine. Any ideas, insights?
Local file update for $/Branches/01_Mar_2008/IMRating/LaCrosse.IMRating.Rules/9.4/Rules/RateProposalRule.vb failed: System.ArgumentException: Invalid File or Directory attributes value
VaultClientOperationsLib.GetLatestVersionFailedException: Exception of type VaultClientOperationsLib.GetLatestVersionFailedException was thrown.
at VaultClientOperationsLib.ClientInstance.ProcessGetFileRequests(GetFileInfo[] infos, MakeWritableType makeWritable, SetFileTimeType setFileTime, MergeType merge, Boolean updateHiddenFilesOnly, String ancestorFullPath, Boolean flat, String ancestorDiskPath, OverwritePrompt PromptData, Boolean isLabelGet, String currentPathToLabelItem, Int64 labelID, Boolean isRetry, Boolean isGetByDisplayVersion)
at VaultClientOperationsLib.ClientInstance.Get(VaultClientFile[] files, Boolean forceLatest, MakeWritableType makeWritable, SetFileTimeType setFileTime, MergeType merge, OverwritePrompt PromptData)
at VaultClientOperationsLib.ClientInstance.Get(VaultClientFolder folder, Boolean recursive, Boolean forceLatest, MakeWritableType makeWritable, SetFileTimeType setFileTime, MergeType merge, OverwritePrompt PromptData)
at VaultCmdLineClient.VaultCmdLineClient.performGetVersion(VaultClientTreeObject treeObjectToRetrieve, Int32 version, Boolean useWorkingFolder, MergeType mt, String strDestFolder)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommandGetVersion(Int32 version, String strReposItem, String strDestFolder)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)
Problem in getting latest
Moderator: SourceGear
I'd suggested deleting the client-side cache files for the account Cruise Control is using:
http://support.sourcegear.com/viewtopic.php?t=6
http://support.sourcegear.com/viewtopic.php?t=6
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
I did that once from the build machine where the Vault client is installed. And I restarted the machine and everything. Still getting the same error. I tried building that same project from another machine through CruiseControl in the same way, and it worked there. I matched the working directory setup of that machine with the build machine where its failing and they seemed same.