I have a nant script which does the following:
1. checkout a file
2. get the latest version of a file to a directory specified with the 'destination' tag
3. alter the file (rev version number)
4. checkin the file with a 'diskfile' option specified
The first time I run this script it works great. The second time it fails. If I reset the working dir in the vault client between runs it works fine. It seems that the checkin command is breaking the working directory. If I just use the working directory then there is no problem as well.
I guess I need on of the following things within nant:
1. for the working directory to be correctly reverted after checkin completes
2. a way to get/set the working directory for a project (would create other problems)
3. a way to specify a working directory in the checkout file command (and others?)
Please let me know you thoughts on how I can move forward.
-Dave
problem with vaultcheckout Nant task
Moderator: SourceGear