vaultundocheckout NANT task not working

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

Moderator: SourceGear

Post Reply
zman36
Posts: 5
Joined: Fri Mar 09, 2007 3:21 pm

vaultundocheckout NANT task not working

Post by zman36 » Fri Mar 09, 2007 3:26 pm

I have downloaded the latest valut server and nant task support for vault. When using the task "vaultundocheckout", I get an "Invalid element <vaultundocheckout>. Unknown task or datatype." error.

NOTE: I am able to use all other vault task types (like vaultcheckout, vaultcheckin, vaultlabel). Is there any reason why vaultundocheckout cannot be found in the NAnt.VaultTasks.dll assembly?

One other thing that is bothering me. Any reason why vaultgetbylabel REQUIRES a destination? Why can't it just use the current work directory for the user?

THANKS in advance for any help.

zman36
Posts: 5
Joined: Fri Mar 09, 2007 3:21 pm

From looking at the source code

Post by zman36 » Mon Mar 12, 2007 9:18 am

It seems the release version is missing the [TaskName] attribute for undocheckout. Can someone please verify and possbily upload a new version.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Mon Mar 12, 2007 9:38 am

Thanks for the report.

The Vault NAnt tasks are currently not a supported SourceGear product, but it falls under OSS and the GPL. I'll need to get a request in for the fix.
Jeff Clausius
SourceGear

zman36
Posts: 5
Joined: Fri Mar 09, 2007 3:21 pm

Thanks for the update. One more thing....

Post by zman36 » Mon Mar 12, 2007 1:33 pm

Thanks jclausius for the update.

Any chance you would know the answer to my other question?

Why does GetByLabel REQUIRE a destination? Why can't it just use the current work directory for the user? Just like normal Gets?

Thanks,
Frank

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Mon Mar 12, 2007 2:09 pm

I don't know.

Vault NAnt tasks is an open source project authored by other Vault customers. The code is available at vaultdemo.sourcegear.com.

I'm not sure this is an option, but you could get the code and make changes locally if you wish. All you need is a Vault 3.5.x client (authorization is vaulttester", "demo").
Jeff Clausius
SourceGear

Post Reply