NAnt: Invalid <vaultundocheckout> element.

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

Moderator: SourceGear

Post Reply
shaileshdwivedi
Posts: 17
Joined: Tue Oct 03, 2006 9:59 am

NAnt: Invalid <vaultundocheckout> element.

Post by shaileshdwivedi » Mon Nov 06, 2006 12:24 pm

I am doing builds using NAnt and CrusieControl.NET. It fails at point <vaultundocheckout>. I get following error.

Invalid <vaultundocheckout> element. Unknown task or datatype.


Here is the undocheckout block from build file.

<target name="failure" description="Failed Build">
<echo message="Build failed" />
<vaultundocheckout if="${is.full.build}" failonerror="false"
url="${vault.url}" repository="${vault.repository}" username="${vault.user}" password="${vault.password}"
path="${vault.path}"
/>

<vaultundocheckout if="${is.full.build}" failonerror="false"
url="${vault.url}" repository="${vault.repository}" username="${vault.user}" password="${vault.password}"
path="${vault.archive.dir}"
/>
</target>

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

Post by ian_sg » Tue Nov 07, 2006 8:31 am

Are you loading the Vault assembly?

http://nant.sourceforge.net/release/lat ... tasks.html
Ian Olsen
SourceGear

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

Post by lbauer » Tue Nov 07, 2006 3:23 pm

The user was able to resolve the problem.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply