[Mono-list] NAnt broken?
Fawad Halim
fawad@fawad.net
Fri, 18 Apr 2003 14:38:41 -0500 (CDT)
Hi,
I was trying to build the Hello world app with NAnt, however it throws
up without any particular reason.
[fawad@chuckie mono_testing]$ cat Hello.build
<?xml version="1.0" encoding="iso-8859-1"?>
<project name="Hello" default="build">
<target name="build">
<csc target="exe" output="Hello.exe">
<sources>
<includes name="Hello.cs" />
</sources>
</csc>
</target>
</project>
[fawad@chuckie mono_testing]$ NAnt.exe /buildfile:Hello.build
Buildfile: /home/fawad/code/cs/mono_testing/ADOTest.build
INTERNAL ERROR
System.ArgumentException: Name is empty
in <0x000a3> 00 System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.
FileAccess,System.IO.FileShare,int,bool)
in <0x00049> 00 System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.
FileAccess)
in <0x0006d> 00 Mono.Xml.Native.XmlInputStream:.ctor (string,bool)
in <0x00030> 00 Mono.Xml.Native.XmlStreamReader:.ctor (string,bool)
in <0x00015> 00 Mono.Xml.Native.XmlStreamReader:.ctor (string)
in <0x0011f> 00 System.Xml.XmlTextReader:.ctor
(string,System.Xml.XmlNameTable)
in <0x0012d> 00 System.Xml.XmlTextReader:.ctor (string)
in <0x000da> 00 SourceForge.NAnt.XPathTextPositionMap:.ctor (string)
in <0x00409> 00 SourceForge.NAnt.Project:Initialize (System.Xml.XmlDocument)
in <0x003d5> 00 SourceForge.NAnt.Project:Run ()
Try `NAnt -help' for more information.
This is the output from the mcs cvs (synced and built yesterday). I'm
seeing it in mcs-0.23 as well. I last tried NAnt in the mono 0.17 days and
it worked quite nicely then. What am I missing here?
Thanks
-fawad