logo       
Google Custom Search
    AddThis Social Bookmark Button

RE: Vault NAnt Build Tasks: msg#00007

Subject: RE: Vault NAnt Build Tasks
Ok, I unfortunately don't have the source anymore... 

Here is a link to the files that I use.  Place these in your NAnt directory
(same dir as nant.exe).  They were built against NAnt 0.85 (some nightly
snapshot) and Vault 2.0.

Example usage:
<vaultcheckout url="http://vault.mydir.com"; username="admin"
password="admin" repository="Default Repository"
filename="$/MyProj/AssemblyInfo.cs"
localfile="${nant.project.basedir}/${assemblyinfo.location}"
overwrite="false" />

<vaultcheckin url="http://vault.mydir.com"; username="admin" password="admin"
repository="Default Repository" filename="$/MyProj/AssemblyInfo.cs"
localfile="${nant.project.basedir}/${assemblyinfo.location}"
comment="Automated check-in: Increment assembly version" />

Files are available here: http://www.biasecurities.com/nant0.85_vault2.x.zip

Let me know if you need further help

Jim


-----Original Message-----
From: vault-list-admin@xxxxxxxxxxxxxxxxxxx
[mailto:vault-list-admin@xxxxxxxxxxxxxxxxxxx] On Behalf Of Chris Mullins
Sent: Monday, June 07, 2004 4:10 PM
To: vault-list@xxxxxxxxxxxxxxxxxxx
Subject: RE: [vault-list] Vault NAnt Build Tasks

All of the files in the Vault repository have a comment on them that
says "updated for nant.8.4 and vault 2.0" by Wayne Allen on 3/10. 

I don't know if this is relevant to the discussion or not...

-- 
Chris

-----Original Message-----
From: James Geurts [mailto:jim@xxxxxxxxxxxxxxxx] 
Sent: Monday, June 07, 2004 11:55 AM
To: Chris Mullins
Cc: vault-list@xxxxxxxxxxxxxxxxxxx
Subject: RE: [vault-list] Vault NAnt Build Tasks

Sorry to be somewhat vague before... Brian Schkerke coded the tasks... I
believe that he had to change some of the code to make them work with
NAnt
0.84 and 0.85.  I don't think that he checked these code changes back
into
vaultpub, however...

so unless Brian is reading this and provides a link to the tasks, the
best
that I can offer is to provide a link to download the tasks (If I have
the
source, I'll provide that also) for NAnt 0.85 and Vault 2.x (This is the
setup I use at home).  In order to use the tasks, just place them in the
nant directory.

Jim


> Building the binaries isn't really an issue - they're pretty easy to
> build.
>
> It's what I need to do with the binaries that is causing me troubles.
I
> don't know what to do in order to get NAnt to recognize the various
> Vault tasks...
>
> --
> Chris Mullins
>
> -----Original Message-----
> From: James Geurts [mailto:jim@xxxxxxxxxxxxxxxx]
> Sent: Monday, June 07, 2004 11:27 AM
> To: eric@xxxxxxxxxxxxxx
> Cc: vault-list@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [vault-list] Vault NAnt Build Tasks
>
> Also, I know that Brian had compiled the NAnt tasks for each version
of
> NAnt
> (.83, .84, and .85)... though, it appears as though the location of
> those
> tasks is gone.  When I get home, I could provide a link to the 0.85
> tasks...
>
> Jim
>
>>
>> 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: vault-list-admin@xxxxxxxxxxxxxxxxxxxx
>> [mailto:vault-list-admin@xxxxxxxxxxxxxxxxxxxx] On Behalf Of Chris
>> Mullins Sent: Monday, June 07, 2004 12:26 PM
>> To: vault-list@xxxxxxxxxxxxxxxxxxxx
>> 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
>>
>>
>>
>>
>> _______________________________________________
>> vault-list mailing list
>> vault-list@xxxxxxxxxxxxxxxxxxxx
>> http://lists.sourcegear.com/cgi-bin/mailman/listinfo/vault-list
>
>
>
> _______________________________________________
> vault-list mailing list
> vault-list@xxxxxxxxxxxxxxxxxxxx
> http://lists.sourcegear.com/cgi-bin/mailman/listinfo/vault-list
>
> _______________________________________________
> vault-list mailing list
> vault-list@xxxxxxxxxxxxxxxxxxxx
> http://lists.sourcegear.com/cgi-bin/mailman/listinfo/vault-list




_______________________________________________
vault-list mailing list
vault-list@xxxxxxxxxxxxxxxxxxxx
http://lists.sourcegear.com/cgi-bin/mailman/listinfo/vault-list



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>