Nik Derewianka wrote:
Ian MacLean wrote:
So i was a bit premature in my success declarations with nant on OSX, and did the second part of installation :P 'make install prefix=/usr/local/' and can confirm that i get a similar situation as above on OSX 10.3.6, mono1.1.2, it also executes self-userdoc - but crashes at:
The reason we skip it on linux is because mcs does not support the /doc argument which generates the xml used by ndoc. However a patch for this will soon be applied to mono svn so we'll build it then.
[exec] self-userdoc: [exec] [exec] [ndoc] Initializing... [exec] [ndoc] Merging XML documentation... [exec] [ndoc] Building mapping... [exec] [ndoc] Creating Task Index Page... [exec]
ok. it turns out that there is a bug in NAnt where the dependencies of a target get executed even if the targets if attribute evaluates to true. The userdoc should not be built on non ms.net systems. Try changing line 736 of NAnt.build from:
<target name="install" depends="install-windows, install-linux" />
to: <target name="install" depends="install-linux" />
And see how it goes.
Ian
[exec] Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ExecutionEngineException: SIGILL
[exec] in (unmanaged) (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[])
[exec] in <0x0008c> (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[])
[exec] in <0x000e8> System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
[exec] --- End of inner exception stack trace ---
[exec]
[exec] in <0x00168> System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
[exec] in <0x00048> System.Reflection.MethodBase:Invoke (object,object[])
[exec] in <0x003fc> HelperArguments:CallConsoleRunner ()
[exec] in <0x0008c> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
[exec] in <0x00040> System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
[exec] in <0x00094> (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
[exec] in <0x00b68> NAnt.Console.ConsoleStub:Main (string[])
[exec]
[exec]
[exec] Unhandled Exception: System.ExecutionEngineException: SIGILL
BUILD FAILED - 0 non-fatal error(s), 18 warning(s)
/Users/nik/dev/nant/NAnt.build(247,10):
External Program Failed: /Users/nik/dev/nant/build/mono-2.0.unix/nant-0.85-debug/bin/NAnt.exe (return code was 1)
Total time: 914.5 seconds.
Regards, Nik
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users