RE: Vault NAnt Build Tasks

"Eric Sink" <[email protected]> Mon, 7 Jun 2004 13:12:22 -0500
Newsgroups gmane.comp.version-control.sourcegear-vault.user
Message-ID <[email protected]>
Any question about these Nant tasks is more likely
to be answered by someone in the Vault community than
by a SourceGear employee.  We haven't had much
involvement in this area, and we don't use Nant
internally.

These days, the majority of the Vault community
hangs out on the forum site, not here on vault-list.

The forum URL is:

http://support.sourcegear.com/

--
Eric Sink
Software Craftsman
http://software.ericsink.com/

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Chris Mullins
Sent: Monday, June 07, 2004 12:26 PM
To: [email protected]
Subject: [vault-list] Vault NAnt Build Tasks

I'm trying to get the NAnt Tasks for Vault to work, but am having some
troubles. 

 

I logged into the Vault server at vaultpub.sourcegear.com, and pulled down
the latest "NAnt Vault Tasks" from the repository there. I reset all the
preferences in the .csproj file to their approppiate locations on my
machine:

C:\Program Files\Nant\bin\

C:\Program Files\SourceGear\Vault Client

 

After building the project, and copying all the relevant DLL's into the
C:\Program Files\Nant\bin\ directory, I get the following output from Nant:

 

> T:\ThirdParty>nant

> NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)

> Copyright (C) 2001-2003 Gerry Shaw

> http://nant.sourceforge.net

> 

>Buildfile: file:///T:/ThirdParty/Test.build

>Target(s) specified: build

> 

>build:

> 

> 

>BUILD FAILED

> 

>T:\ThirdParty\Test.build(7,5):

>invalid element <vaultusers>. Unknown task or datatype.

> 

>Total time: 0 seconds.

 

Also, when I build the NAnt.dll project, I get the following warnings:

warning CS0618: 'NAnt.Core.Attributes.FileSetAttribute' is obsolete: 'Please
use a BuildElement attribute instead. This class will be removed soon.'

 

Is there a readme file anywhere for getting this to work right? 

 

-- 

Chris Mullins