MarkAllFiles Writeable using Nant

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

Moderator: SourceGear

Post Reply
btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

MarkAllFiles Writeable using Nant

Post by btd » Tue Apr 10, 2007 2:10 pm

Is there a command line argument that I can use to getLatest from Vault using Nant that will mark all files are writable?

Here is what I am doing to getLatest now.

<exec program="${vault.exe.path}" if="${UseVaultExe=='1'}">
<arg line="get" />
<arg line="-destpath ${getLatest.path}" />
<arg line="-host ${vault.server.name}" />
<arg line="-user ${sourcecode.vault.username}" />
<arg line="-password ${sourcecode.vault.password}" />
<arg line="-repository "${sourcecode.vault.repository.project}"" />
<arg line="-merge overwrite" />
<arg line=""${sourcecode.project.root}"" />
</exec>


Thanks

Tom

If its possible, can you please direct me to the online help?

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

Post by lbauer » Tue Apr 10, 2007 2:34 pm

We don't have online help for NAnt, but we do have documentation on our Vault command line client.

One of the GET options is -makewritable:

http://download.sourcegear.com/misc/vau ... lc.htm#GET

You could try using that in an argument line.
Linda Bauer
SourceGear
Technical Support Manager

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

MarkAllFiles Writeable using Nant

Post by btd » Wed Apr 11, 2007 6:02 am

Thanks

Post Reply