Lisa,
 
You can safely ignore that test error. It was fixed since. You copy of NAnt should be fully functional.
 
Also, there's really no need to compile NAnt yourself. You can just the NAnt binaries that are included in the release package.
 
Gert


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lisa Nice
Sent: donderdag 18 november 2004 15:28
To: [EMAIL PROTECTED]
Subject: [nant-dev] Nant0.84 build fails on self-test target

Hi – Hoping someone can help me out here.  Thanks in advance – Lisa

 

Attempting to build nant0.84, I get the following error at the self-test target.  All other targets succeeded.

It looks like the file with the error is using a regular _expression_ to extract version number and valid copyright data. 

The console shows “NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)” during the build process.

The error states “expecting 2004 but was 2003” and I’m assuming it’s getting this info from this console line of text. 

Is there some setting I’ve failed to update?

Any and all help appreciated.

Thanks!

 

Buildfile: file:///C:/NANT/nant-0.84/NAnt.build

Target(s) specified: test

     [echo] Using 'net-1.1' framework on 'win32' platform.

init:

debug:

set-runtime-configuration:

set-net-1.1-runtime-configuration:

set-runtime-configuration-flags:

set-net-1.1-runtime-configuration:

set-runtime-configuration-flags:

build:

   

test:

     [echo] Running unit tests with just built version of NAnt.

     [exec] C:\NANT\nant-0.84/build/net-1.1.win32/nant-0.84-debug/bin/NAnt.exe  -buildfile:NAnt.build debug self-test -D:project.version=0.84 -k:net-1.1

            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:///C:/NANT/nant-0.84/NAnt.build

            Target(s) specified: debug self-test

                 [echo] Using 'net-1.1' framework on 'win32' platform.

            debug:

            init:

            debug:

            set-runtime-configuration:

            set-net-1.1-runtime-configuration:

            set-runtime-configuration-flags:

            set-net-1.1-runtime-configuration:

            set-runtime-configuration-flags:

            self-test:

               [attrib] Setting file attributes for 1 files to Normal.

              [xmlpoke] Found '1' nodes matching XPath _expression_ '//configuration/nant/frameworks/[EMAIL PROTECTED]'win32']/@default'.

                 [echo] testing with config 'C:\NANT\nant-0.84\build\net-1.1.win32\nant-0.84-debug\bin\nant.tests.config'

                 [nant] C:\NANT\nant-0.84\tests\NAnt.Console\NAnt.Console.build test

                        Buildfile: file:///C:/NANT/nant-0.84/tests/NAnt.Console/NAnt.Console.build

                        Target(s) specified: test     

                        build:

                        test:

                       

                           [nunit2] Tests run: 9, Failures: 1, Not run: 0, Time: 1.765625 seconds

            Failures:

            1) Tests.NAnt.Console.NAntTest.Test_ShowHelp :

                        expected:<2004>

                         but was:<2003>

               at Tests.NAnt.Console.NAntTest.Test_ShowHelp() in c:\NANT\nant-0.84\tests\NAnt.Console\NAntTest.cs:line 211

                        BUILD FAILED

                       

                        Tests Failed

                       

                        Total time: 2.4 seconds.

            BUILD FAILED

            Nested build failed.  Refer to build log for exact reason.

            Total time: 2.7 seconds.

BUILD FAILED

Reply via email to