vault nant integration question

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

Moderator: SourceGear

Post Reply
mayfield
Posts: 8
Joined: Wed Apr 23, 2008 7:08 am

vault nant integration question

Post by mayfield » Mon Aug 25, 2008 12:22 pm

Does anyone know if the <vaultget> task will automatically grab everything, or if, similar to the vault client, it only actually downloads files that have changed? I don't seem to see any <getoptions> that might control this behavior.

Reason I ask is that I have a very large project here (file count and size-wise) and it takes nearly an hour to download the entire set of assets to a blank working folder, but it also seems to take a long time if the latest files already exist in that folder. I'm curious if it's worth my time to experiment whether it's faster to nuke my whole local source folder and re-fetch all the files for each build, vs. keeping the soure folder between builds and have to do a bunch of version comparisons before fetching only the changed files. I'm starting to think the version comparison step is consuming the bulk of the time whether the files exist in the working folder or not and that I'm just plain stuck with a 1hr build time. That would suck.

Either way, it would be useful to know if my assumption that <vaultget> is only retreiving changed files is even accurate. If it's getting the whole project anyway, then I'll have to deal with it, or find a nother way to deploy the static content in my project.

Thanks in advance.

shannon

Re: vault nant integration question

Post by shannon » Mon Aug 25, 2008 12:34 pm

Your assumption is correct, vaultget does a working folder get, which will only download changed files.

mayfield
Posts: 8
Joined: Wed Apr 23, 2008 7:08 am

Re: vault nant integration question

Post by mayfield » Mon Aug 25, 2008 12:50 pm

Thanks for clarifying that.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: vault nant integration question

Post by lbauer » Tue Sep 16, 2008 10:25 am

Let us know if you have further questions.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply