vaultgetfile and acting on folders recursively

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

Moderator: SourceGear

Post Reply
jammeger
Posts: 1
Joined: Wed Jul 19, 2006 9:44 am

vaultgetfile and acting on folders recursively

Post by jammeger » Wed Jul 19, 2006 9:48 am

I'm currently setting up automated builds with nAnt, and I'm using the 3.1.9 nAnt tasks. What I would like to know is how do I set up the vaultgetfile task to act recusively on a folder.

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Wed Jul 19, 2006 10:55 am

If the repository path you provide is to a folder, the get should automatically be recursive. Are you seeing different behavior?
Ian Olsen
SourceGear

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Wed Jul 19, 2006 11:10 am

I just verified the recursive behavior this using the 3.1.9 NAnt tasks hitting the our public vault repository with the following:

Code: Select all

<vaultgetfile
	url="http://vaultpub.sourcegear.com"
	username="guest"
	password="guest"
	repository= "Build_Tool_Integration"
	path="$/latest"
	destination= "c:\temp\NAnt-latest" />
(Because this repository is public, you can also use this to see the recursive get in action.)
Ian Olsen
SourceGear

Post Reply