Bugs item #996454, was opened at 2004-07-23 12:45
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=996454&group_id=31650

Category: Tests
Group: 0.84-rc1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Bolon (styx31)
>Assigned to: Gert Driesen (drieseng)
Summary: NAnt build error

Initial Comment:
Since 1st of January 2004, it's impossible to build the 
0.84 version of Nant because of a build test failure.

File tests/NAnt.Console/NAntTest.cs contains a test of 
the year of the generated file, line 211 :

Assertion.AssertEquals(DateTime.Now.Year, year);

This test compare the year of the copyright of the 
generated file with the current year...

But since 2004, year are different and test fails...

I had to edit this line into :

Assertion.AssertEquals(DateTime.Now.Year - 1, year);

but a better solution mey be :

Assertion.AssertEquals(2003, year);

I hope this will help.

----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2004-07-23 14:05

Message:
Logged In: YES 
user_id=707851

This was fixed long since. A new (beta) version of NAnt will 
be released in the coming weeks.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=996454&group_id=31650


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to