Bugs item #996454, was opened at 2004-07-23 12:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
Priority: 5
Submitted By: Bolon (styx31)
Assigned to: Nobody/Anonymous (nobody)
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.

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

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