It seems this task is only capable of setting the files to the current datetime of the extraction.
Is there a way to set them to the Modified or Checked-In date upon retrieval? I need this to know what has actually changed when generating incremental builds... If not, how about some source code guys? We have a number of licenses...
NAnt Tasks - vaultgetfile() - how to set to Modified date?
Moderator: SourceGear
I believe I will have to put in a feature request for that capability.
As a workaround, you may wish to try creating a user for NAnt which had the time settings to use the default of modified or check-in configured in the GUI, and then use this user within NAnt. If this works for you, just let me know.
As a workaround, you may wish to try creating a user for NAnt which had the time settings to use the default of modified or check-in configured in the GUI, and then use this user within NAnt. If this works for you, just let me know.
Yeh, I figured I would have to do the separate account so that i don't have to worry about the security of my password, so I can use that to test your solution, though this account will require update perms, thus still a security hole.
But, the/my account i'm using already has "Set file time: Modification" set in the gui, so this doesn't appear to transfer to NAnt.
But, the/my account i'm using already has "Set file time: Modification" set in the gui, so this doesn't appear to transfer to NAnt.
On the set time issue:
A work-around for that is to use a call to command line client, because it is more full featured. You can look here for documentation on the command line client: http://download.sourcegear.com/misc/vau ... nt/clc.htm.
A work-around for that is to use a call to command line client, because it is more full featured. You can look here for documentation on the command line client: http://download.sourcegear.com/misc/vau ... nt/clc.htm.