Hi,
just downloaded last nightly build. Still have problem with build it on net-1.1 only machine
 
 
E:\src\extern\nant>E:\src\extern\nant\bin\NAnt.exe
NAnt 0.85 (Build 0.85.1447.0; net-1.0.win32; nightly; 18.12.2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net
 
Framework 'net-1.0' does not exist or is not specified in the NAnt configuration
 file. Defaulting to no known framework.
Buildfile:
file:///E:/src/extern/nant/NAnt.build
Target(s) specified: test
 
BUILD FAILED
 
E:\src\extern\nant\NAnt.build(3,6):
Property evaluation failed.
_expression_: Using '${nant.settings.currentframework}' framework on '${nant.platf
orm.name}' platform.
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Property 'nant.settings.currentframework' has not been set.
 
Total time: 0.4 seconds.
 
It is sufficient to change this line:
            <platform name="win32" default="net-1.0">
to:
            <platform name="win32" default="net-1.1">
But this is not solution of course...
 
 
2/
mine just-built nant.exe writes:
NAnt 0.85 (Build 0.85.1447.0; net-1.0.win32; nightly; 18.12.2003)
what is much better then prev version but incorrect (I built at net-1.1 and today is 2.1.2004)
 
3/
self-test failed (propably connected to point 2)
                           [nunit2] Tests run: 9, Failures: 1, Not run: 0, Time:
 4,2160624 seconds
 
                        Failures:
                        1) Tests.NAnt.Console.NAntTest.Test_ShowHelp :
                         expected:<2004>
                          but was:<2003>
                           at Tests.NAnt.Console.NAntTest.Test_ShowHelp() in e:\
src\extern\nant\tests\NAnt.Console\NAntTest.cs:line 211
 
Despite those issues, I converted pretty easily and mine build script simplyfies on several places due to expressions. Good job!
Martin
 
btw: don't forget to increase year in copyright as well ! :-)
 

Reply via email to