Artur Karazniewicz wrote:
Yes, that solves it, however now I'm getting some other errors (in System.Xml, but that might be because I'm not up to date to the latest class library yet):Jeroen Janssen wrote:Artur Karazniewicz wrote:Hello,
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.
Hello,
I tried this patch, but I can't seem to get it to work.
(Note that I'm running mono 0.17, not the latest CVS, so maybe that is my problem?)
Anyway, I get:
japj@debian:~/cvs/mcs/nant$ mono --debug ./Nant.exe
Buildfile: /home/japj/cvs/mcs/nant/NAnt.build
[tstamp] 01/01/2003 13:46:12
[...]Try `Nant -help' for more information. And line 158 os Task.cs is: foreach (ValidatorAttribute validator in validators) {Oops - I'm woorking on current cvs snapshot ant NAnt works fine. Try attatched patch - or change line above to foreach (Attribute validator in validators) and recompile NAnt.
japj@debian:~/cvs/mcs/class/Accessibility$ mono --debug ../../nant/NAnt.exe
Buildfile: /home/japj/cvs/mcs/class/Accessibility/Accessibility.build
syntax error, expecting end-of-file SLASH SLASH2 COLON COMMA BRACKET_OPEN BRACKET_CLOSE PAREN_CLOSE AND OR DIV MOD PLUS MINUS ASTERISK BAR EQ NE LE GE LT GT
INTERNAL ERROR
System.Xml.XPath.XPathException: Error during parse ---> Mono.Xml.XPath.yyParser.yyException: irrecoverable syntax error
in <0x0071e> 00 Mono.Xml.XPath.XPathParser:yyparse (Mono.Xml.XPath.yyParser.yyInput)
in <0x0004d> 00 Mono.Xml.XPath.XPathParser:yyparse (Mono.Xml.XPath.yyParser.yyInput,object)
in <0x0002f> 00 Mono.Xml.XPath.XPathParser:yyparseSafe (System.Xml.XPath.Tokenizer,object)
--- End of inner exception stack trace ---
in <0x00081> 00 Mono.Xml.XPath.XPathParser:yyparseSafe (System.Xml.XPath.Tokenizer,object)
in <0x00079> 00 System.Xml.XPath.XPathNavigator:Compile (string)
in <0x00046> 00 System.Xml.XmlNode:SelectSingleNode (string,System.Xml.XmlNamespaceManager)
in <0x00151> 00 SourceForge.NAnt.Task:AutoInitializeAttributes (System.Xml.XmlNode)
in <0x00028> 00 SourceForge.NAnt.Task:Initialize (System.Xml.XmlNode,SourceForge.NAnt.Location)
in <0x000b5> 00 SourceForge.NAnt.Project:CreateTask (System.Xml.XmlNode,SourceForge.NAnt.Target)
in <0x0027c> 00 SourceForge.NAnt.Target:Initialize (System.Xml.XmlNode)
in <0x00665> 00 SourceForge.NAnt.Project:Initialize (System.Xml.XmlDocument)
in <0x0028b> 00 SourceForge.NAnt.Project:Run ()
Try `NAnt -help' for more information.
japj@debian:~/cvs/mcs/class/Accessibility$
Best regards,
Jeroen Janssen
_______________________________________________
Mono-list maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
