I am using the Vault Get File task in my nant script as follows:
<vaultgetfile url="http://localhost"
username="${UserName}"
password="${Password}"
repository="Code1"
path="$/Source/WebProj/"
destination="C:\Vault\Wwebproj"/>
When i run my script it gives the following error:
ClientInstance.TreeCache has not been initialized, Common cause is that SelectRepository has not been called Sucessfully.:
NAnt.Core.BuildException: C:\EASEBuilds4\easesvcchild4.build(28,6):
ClientInstance.TreeCache has not been initialized, Common cause is that SelectRepository has not been called Sucessfully.
I am using Vault Client 3.5.0 and did make sure i have the right version of the Vault tasks in my nant-->bin directory.
Any help would be appreciated.
Problems with VaultGet File
Moderator: SourceGear
-
- Posts: 1
- Joined: Sun Nov 05, 2006 8:33 pm
- Contact:
Is NAnt running on the same machine as the Vault server? Your server URL might need to be something different.
Based the on error, it sounds like there could be spaces or some other character in the name of the repository. Double check the path.
You may wish to try a test of the same thing but to a specific file in the repository and see if you get the same error.
Based the on error, it sounds like there could be spaces or some other character in the name of the repository. Double check the path.
You may wish to try a test of the same thing but to a specific file in the repository and see if you get the same error.