Problems with VaultGet File

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
vaultuser123
Posts: 1
Joined: Sun Nov 05, 2006 8:33 pm
Contact:

Problems with VaultGet File

Post by vaultuser123 » Sun Nov 05, 2006 8:38 pm

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.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Mon Nov 06, 2006 2:36 pm

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.

Post Reply