Nant VaultTasks - GetFile options

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

Moderator: SourceGear

Post Reply
jtedder
Posts: 2
Joined: Wed May 04, 2005 2:11 pm

Nant VaultTasks - GetFile options

Post by jtedder » Wed May 04, 2005 2:20 pm

The GetFile task doesn't allow you to specify the MakeWritableType, SetFileTimeType, or MergeType. As a result, the task can take an extrodinarily long time because it thinks all files are renegade. This situation occus when I use the client tool to get latest with different options than the hardcoded ones in the task, then run the Nant script. After running the nant script all files show up as renegade in the client tool.

Similarly - the getfile task doesn't allow me to specify whether the a local backup should be created. This combination of these problems leads to a huge number of files in the _sgbak folders.

Options like this should be properties of the task so that the behavior of vault can be controlled from the NANT script.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Wed May 04, 2005 2:57 pm

All the behaviors that you're seeing have the same root, which is that you are specifying destpath in your task. If you don't specify destpath, then the get will be done in your working folder, and only files that have been updated will be downloaded and saved to your working folder. You may need to use the GUI or command line tool to set the working folder, as the nant tasks don't have that capability yet.

Post Reply