On Wed, 2003-12-31 at 11:13 +0100, Jaroslaw Kowalski wrote: > Open bin/NAnt.exe.config, find: > > <platform name="unix" default="mono-1.0"> > <framework name="mono-1.0" > .... > > and update your paths accordingly: > > In my case it is: > > sdkdirectory="/opt/mono/bin" > frameworkdirectory="/opt/mono/bin" > frameworkassemblydirectory="/opt/mono/lib"
I changed the paths from /usr/local/* to /usr/bin and /usr/lib (I am using the mono 0.28 RPM package). Now I am getting this error: [EMAIL PROTECTED] xnet]$ nant ïNAnt 0.84 (Build 0.84.1450.0; net-1.0.win32; rc 2; 12/21/2003) Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net Buildfile: file://mnt/data/Projects/xnet/xnet.build BUILD FAILED INTERNAL ERROR System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for NAnt.DotNet.Tasks. CompilerBase ---> System.NullReferenceException: A null value was found where an object instance was required in <0x00117> NAnt.DotNet.Tasks.CompilerBase:.cctor () --- End of inner exception stack trace --- in (unmanaged) NAnt.DotNet.Tasks.CompilerBase:.ctor () in <0x0003d> NAnt.DotNet.Tasks.CscTask:.ctor () in (unmanaged) /usr/lib/libmono.so.0 [0x4005c8a3] in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke+0x27) [0x400aa690] in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke_array+0x1d4) [0x400ab452] in (unmanaged) /usr/lib/libmono.so.0 [0x400b1612] in <0x0009c> System.Reflection.MonoCMethod:Invoke (object,System. Reflection.BindingFlags,System.Reflection.Binder,object[],System. Globalization.CultureInfo) --- End of inner exception stack trace --- in <0x000e4> System.Reflection.MonoCMethod:Invoke (object,System. Reflection.BindingFlags,System.Reflection.Binder,object[],System. Globalization.CultureInfo) in <0x00022> System.Reflection.MonoCMethod:Invoke (System.Reflection. BindingFlags,System.Reflection.Binder,object[],System.Globalization. CultureInfo) in <0x0026b> System.Activator:CreateInstance (System.Type,System. Reflection.BindingFlags,System.Reflection.Binder,object[],System. Globalization.CultureInfo,object[]) in <0x00050> System.Reflection.Assembly:CreateInstance (string,bool, System.Reflection.BindingFlags,System.Reflection.Binder,object[],System. Globalization.CultureInfo,object[]) in <0x00060> NAnt.Core.TaskBuilder:CreateTask () in <0x00111> NAnt.Core.TypeFactory:CreateTask (System.Xml.XmlNode,NAnt. Core.Project) in <0x00017> NAnt.Core.Project:CreateTask (System.Xml.XmlNode,NAnt.Core. Target) in <0x00019> NAnt.Core.Project:CreateTask (System.Xml.XmlNode) in <0x00459> NAnt.Core.Project:InitializeProjectDocument (System.Xml. XmlDocument) in <0x00270> NAnt.Core.Project:Execute () in <0x00173> NAnt.Core.Project:Run () Please send bug report to [EMAIL PROTECTED] Total time: 0.1 seconds. [EMAIL PROTECTED] xnet]$ > You may have installed mono somewhere else. > This needs to be done every time you install a new version of nant. > > Jarek > -- Philip Van Hoof, Software Developer @ Cronos home: me at freax dot org (change the From-field) work: Philip dot VanHoof at cronos dot be http://www.freax.be, http://www.freax.eu.org ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users