Checkout recursively from Vault
Hi,
Is there a way to checkout files recursively from Vault - just like the checkbox available when using sourcesafe checkout? I would like to checkout all AssemblyInfo.cs files before build, to have correct build number in vault. |
With Vault, all commands that support a recursive option are recursive by default (you can make it *non-recursive* by checking the 'Do not recursively process folders' checkbox on the Flags tab of the Vault action).
|
The checkbox "Do not recursively process folders" is not checked. Does that mean that I have to create my own "search" logic? Or are there any other options available?
|
It appears that the Vault command-line client does not support recursive checkouts with file masks (folders only?). You may want to submit a request to SourceGear to add support for this.
|
If you are first retrieving the files using get (so they are available on the build machine) when you do the checkout, you could you a Process Files step to workaround this Vault limitation.
The xml fragment below can be copied and pasted into Visual Build Pro to see an example. This hasn't been tested, but should work with minimal effort. Hope that helps... |
Thank you - this code snippet is working perfectly
|
All times are GMT -5. The time now is 06:02 PM. |
Copyright © 1999-2023 Kinook Software, Inc.