[Mono-list] [PATCH] running NAnt-0.6 on linux

Paolo Molaro lupus@ximian.com
Fri, 3 Jan 2003 16:28:17 +0100

On 01/01/03 Artur Karazniewicz wrote:
> Here is a patch allows use NAnt-0.6 (mono/mcs/nant) on linux with mono.
> I tested it with mono class library and looks like it works. But there
> is little one problem - looks like mono's XML parser does not like
> XML node naming "win32icon" - I dont why - sorry System.Xml is too
> huge to analyze for me. But since mcs hasn't win32icon switch (??)
> I've moved this parametre from CompilerBase.cs Task (which is base class 
> form CscTask and McsTask) to CscTask.cs - so now You can't
> use win32icon parameter in NAnt mcs tasks. Maybe developers of 
> System.Xml should look why this statement
> XmlNode.SelectSingleNode( "@win32icon" ) fails with XML parser
> exception.

Both the System.Xml issue and the custom attribute issue should be fixed
in cvs now, so there should be no need for your patch anymore.
Would you be so kind to test without the patch and report any issues you
find? Thanks.
Also, please provide patches in unified diff format (use the -u option
to diff). You can put this line in your .cvsrc:
=== cut cut ===
diff -u -p -N
=== cut cut ===


lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better