I got the following error when running nant to install itself:
[nunit2] Tests run: 215, Failures: 2, Not [..]
in c:\nant\tests\NAnt.Core\ProjectTest.cs:line 214
[..]
2) Tests.NAnt.Core.ProjectTest.Test_Initialization_DOMBu
ildFile :
in c:\nant\tests\NAnt.Core\ProjectTest.cs:line 214
[..]
I'm glad you have reported this error. I've had the same failure reported last week http://www.mail-archive.com/nant-developers%40lists.sourceforge.net/msg03468.html.
I wonder how the others can build NAnt from source.
The solution is quite easy. Go to file \tests\NAnt.Core\ProjectTest.cs and remove line 214:
Assertion.AssertEquals(Boolean.TrueString,p.Properties["nant.tasks.script"]);
That's all.
I think the assertion fails, as the Script task has been moved, see http://cvs.sourceforge.net/viewcvs.py/nant/nant/src/NAnt.Core/Tasks/Attic/ScriptTask.cs?hideattic=0
The script task has been moved, ie removed from cvs and added elsewhere.
I'll report it to the bugtracker.
Matthias
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users