Vault Nant task, get folder ab.cd.ef

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
marco
Posts: 11
Joined: Fri Dec 09, 2005 10:37 am

Vault Nant task, get folder ab.cd.ef

Post by marco » Tue Jan 31, 2006 10:45 am

(Repost from the regular support group)

I tried to rebuilt the Vault Nant task to isolate a problem.
- VaultLib Version 3.1.6.3658 does not have a method DeleteDirectoryRecursivelyIncludingReadOnly
Misc.DeleteDirectoryRecursivelyIncludingReadOnly(tmpdiskPath);
Can not compile. Temp resolution replaced with Directory.Delete....

- Main problem: my Vault folder is $\folder1\folder2\folder.name.bla
The method IsVaultFolder can not find this in the Root.FindFolderRecursive

string normalizedPath = RepositoryPath.NormalizeFolder( folderName );
vaultClientFolder = ClientInstance.TreeCache.Repository.Root.FindFolderRecursive( normalizedPath );

Question What does NormalizeFolder do, and what does FindFolderRecursice do exactly

The results of the normalizedPath seems ok. But I don't know what the implemetation is of FindFolderRecursive.

I thought this issue was only related to vaultgetbylabel, but it seems to occur also at the vaultgetfile task. That's a big issue for me.

I read the next release is comming out soon. Can we please add much more Verbose messages in the NAnt task if running with the verbose=true property.

Is it possible to get early access to the next release?

Marco

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Tue Jan 31, 2006 11:41 am

3.1.7 was released yesterday and has what you need.

http://sourcegear.com/vault/downloads.html
Ian Olsen
SourceGear

marco
Posts: 11
Joined: Fri Dec 09, 2005 10:37 am

Post by marco » Tue Jan 31, 2006 1:58 pm

Thanks

Locked