Hi James,
Try something like this
<target name="GetLatest" depends="Clean, Prepare">
<vssget localpath="${src.dir}"
dbpath="${vss.ini}"
recursive="true"
user="${vss.user}"
password="${vss.password}"
path="${vss.path}"
writable="true"
replace="false"
verbose="${isVerbose}"/>
</target>
For this task to be recognized, as Mark says, you need NantContrib. The NantContrib dll's have to be in the path (or copied into the nant bin directory). I downloaded yesterdays snapshot of nant and nantcontrib, build both and then copied the contents of nantcontrib/bin and nantcontrib/build to the nant/bin directory. (BTW To get nantcontrib to build sucessfully I had to build the slingshot subproject first). My vssget task is now correctly getting my source from VSS before building it.
Hope this helps,
Brian.
----Original Message Follows----
From: "Mark Griffiths" <[EMAIL PROTECTED]>
To: "Fisk, James" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: RE: [Nant-users] NAnt problems.
Date: Tue, 17 Dec 2002 16:39:34 -0000
Hi James
I can tell you how we had this working. By using a <test/> element such as
the following:
<test class="Chive.Draco.Tests.AllTests"
assembly="${build.dir}/Draco.exe" outfile="${build.dir}/Draco.Tests.Results"
/>
i.e. replace the attribute 'name' with 'class' in your build file.
We have since upgraded all our tests to NUnit 2.0 and <exec /> out to
nunit-console.exe instead. I believe that the latest CVS version of NAnt
support NUnit 2.0, but have not yet investigated further.
Regarding your source code extraction question, you might find Draco.NET [1]
useful. Draco.NET will monitor your source repository and perform a clean
build when changes are detected.
Failing this I think that there are some VSS tasks in the NAntContrib [2]
project. I have never used them though.
Hope this gives you some pointers
Kind regards
Mark
[1] http://draconet.sf.net
[2] http://nantcontrib.sf.net
--
Mark Griffiths
Chive Software Limited
mailto: [EMAIL PROTECTED]
tel: +44 (0)1224 224320
tel: +44 (0)1224 224321 (direct)
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Fisk, James
> Sent: 17 December 2002 08:41
> To: [EMAIL PROTECTED]
> Subject: [Nant-users] NAnt problems.
>
>
> Hi,
>
> We are looking to use NANT in a .NET proof of concept.
> Everything is going
> fine with NANT to which we have found that building deploying of assemlies
> to be very easy indeed.
>
> However, i have got a few questions :-
>
> 1. When trying to use nunit task, nant complains about a missing class
> attribute. Having looked at the documentation i've found no mention 1.of
> this class attribute. What should the class attribute contain ?
>
> 2. There seems to be no task for source code extraction out of a source
> code respoistary, will this appear in later releases ?
>
> We are using nant version 0.7.9.0, with Windows XP professional.
> The .NET
> framework is version v1.0.3705.
>
> Please find the attached output from the NANT script and the NANT script
> itself.
>
> <<output.log>> <<NAnt.build>>
>
>
> Thanks
>
> James Fisk
> Middleware Systems Engineer
> EGG plc E-mail : [EMAIL PROTECTED]
> Point North Tel : +44 (0)1384 57 4509
> Waterfront West Mobile : +44 (0)7966386731
> Dudley Road Fax : +44 (0)1384 26 4211
> Brierley Hill
> West Midlands
> DY5 1LU
>
>
>
> This private and confidential e-mail has been sent to you by Egg.
> The Egg group of companies includes Egg Banking plc
> (registered no. 2999842), Egg Financial Products Ltd (registered
> no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
> carries out investment business on behalf of Egg and is regulated
> by the Financial Services Authority.
> Registered in England and Wales. Registered offices: 1 Waterhouse Square,
> 138-142 Holborn, London EC1N 2NA.
> If you are not the intended recipient of this e-mail and have
> received it in error, please notify the sender by replying with
> 'received in error' as the subject and then delete it from your
> mailbox.
>
>
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users
- [Nant-users] NAnt problems. Fisk, James
- RE: [Nant-users] NAnt problems. Mark Griffiths
- Brian Davis
