I've just downloaded NAnt 0.84 from Sourceforge Following the install I seem to have the latest version NAnt -h returns NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 26/12/2003)
But following the advice on the "Getting Started" web page (http://nant.sourceforge.net/help/introduction/fog0000000041.html) to Type "bin\nant" I received a couple of failures Tests that failed NAnt.Console/NAntTest.cs Test_ShowHelp() Assertion.AssertEquals(DateTime.Now.Year, year); - Some confusion between 2003 and 2004 NAnt.Core/Tasks/TouchTaskTest.cs Test_File_Millis() Test_FileSet_Millis() This doesn't feel good (I bypassed the tests to ensure a compile, but whilst I don't mind ignoring the first error I don't understand the implications of the errors arising from the TouchTaskTests). How bad is this???! Full Console Output follows: test: [echo] Running unit tests with just built version of NAnt. [exec] C:\Program Files\Nant/build/net-1.0.win32/nant-0.84-debug/bin/NAnt.e xe -buildfile:NAnt.build debug self-test -D:project.version=0.84 -k:net-1.0 NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 26/12/2003) Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/Program Files/Nant/NAnt.build Target(s) specified: debug self-test [echo] Using 'net-1.0' framework on 'win32' platform. debug: init: debug: set-runtime-configuration: set-net-1.0-runtime-configuration: set-runtime-configuration-flags: set-net-1.0-runtime-configuration: set-runtime-configuration-flags: self-test: [attrib] Setting file attributes for 1 files to Normal. [xmlpoke] Found '1' nodes matching XPath expression '//configurati on/nant/frameworks/[EMAIL PROTECTED]'win32']/@default'. [echo] testing with config 'C:\Program Files\Nant\build\net-1.0 .win32\nant-0.84-debug\bin\nant.tests.config' [nant] C:\Program Files\Nant\tests\NAnt.Console\NAnt.Console.bu ild test Buildfile: file:///C:/Program Files/Nant/tests/NAnt.Cons ole/NAnt.Console.build Target(s) specified: test build: test: [nunit2] Tests run: 9, Failures: 1, Not run: 0, Time: 2.453528 seconds Failures: 1) Tests.NAnt.Console.NAntTest.Test_ShowHelp : expected:<2004> but was:<2003> at Tests.NAnt.Console.NAntTest.Test_ShowHelp() in C:\Program File s\Nant\tests\NAnt.Console\NAntTest.cs:line 211 Second run after commenting out year problem above ... [nant] C:\Program Files\Nant\tests\NAnt.Core\NAnt.Core.build te st Buildfile: file:///C:/Program Files/Nant/tests/NAnt.Core /NAnt.Core.build Target(s) specified: test build: test: [nunit2] BUILD SUCCEEDED [nunit2] Tests run: 195, Failures: 2, Not run: 0, Tim e: 21.4107872 seconds Failures: 1) Tests.NAnt.Core.Tasks.TouchTaskTest.Test_File_Millis : Wrong touc h date at Tests.NAnt.Core.Tasks.TouchTaskTest.Test_File_Millis() in C:\P rogram Files\Nant\tests\NAnt.Core\Tasks\TouchTaskTest.cs:line 98 2) Tests.NAnt.Core.Tasks.TouchTaskTest.Test_FileSet_Millis : Touch: fileset, millis, C:\DOCUME~1\cks00001\LOCALS~1\Temp\Tests.NAnt.Core.Tasks.TouchT askTest\file1.txt at Tests.NAnt.Core.Tasks.TouchTaskTest.Test_FileSet_Millis() in C :\Program Files\Nant\tests\NAnt.Core\Tasks\TouchTaskTest.cs:line 166 BUILD FAILED Tests Failed Total time: 22.3 seconds. ******************************************************************** E-Mail Confidentiality Notice This communication may contain information which is confidential and privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please do not read, print, re-transmit, or store it, or act in reliance on it or any attachments or information contained herein. Nothing contained herein shall be construed as a binding agreement. Agilisys does not warrant that any attachments are authorised by Agilisys, and Agilisys shall not be liable for any loss or damage arising from the use of information on or attached to this email, or from opening this email or any attachments. This communication is from Agilisys, Jarvis House, Toft Green, York, YO1 6JZ. Tel +44(0) 1904-713800. If you have received this communication in error please notify [EMAIL PROTECTED] and then delete the e-mail and any copies of it. ******************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users