Well the MakeFile is certainly doing more now than before, but I'm still getting errors during the build. How do I go about configuring NAnt.build for Mono on Linux? Is there any documentation on this?
Thanks again, ~ Matthew On Sun, 2003-10-05 at 01:39, Ian MacLean wrote: > Matthew, > > scratch the bit about the shell script. We have yet to add that to the > build process. For now you'll need to create a text file called nant and > put somthing like the following in it: > > #!/bin/sh > /usr/local/bin/mono /home/foobar/cvs/nant/build/nant-0.8.4-debug/bin/NAnt.exe "$@" > > Save to either the nant bin dir or /usr/local/bin - whatever your preference it. > > Ian > > > > > > You're probably better off using the latest cvs of NAnt rather than > > 0.8.3. The build is cleaner on mono and there is now a nant shell > > script that gets copied to the build directory that you can run > > instead of 'mono NAnt.exe' > > > > get the cvs here :http://sourceforge.net/cvs/?group_id=31650 > > or if you prefer a recent nightly build ( > > http://nant.sourceforge.net/builds/ ) > > > > Ian > > > > > >> Perhaps you can ignore my last message as I think I'm getting somewhere, > >> but not far. I modified the makefile.linux till it ran (the new file is > >> attached). I'm getting two warnings but the compilation says it > >> succeeded (how do I tell?). If it truly worked, should I have a file in > >> bin called "nant" because I don't. I then try "mono bin/miniant.exe > >> linux-build" as suggested by the bootstrap.sh file (the paths were wrong > >> in the file, fixes attached). That seems to be where I am stuck as it > >> errors out with log4net complaints. Below is a list of my commands and > >> their results, any help would be greatly appreciated. > >> > >> ==== > >> [EMAIL PROTECTED] nant-0.8.3.50105]$ make -f makefile.linux > >> mcs --unsafe -define:mono -debug -o bin/mininant.exe -r > >> ./bin/NDoc.Core.dll -r ./bin/log4net-net-1.0.dll -r System.We b.dll \ > >> './src/NAnt.Core/*.cs' \ > >> './src/NAnt.Core/Types/*.cs' \ > >> './src/NAnt.Core/Util/*.cs' \ > >> './src/NAnt.Core/Attributes/*.cs' \ > >> './src/NAnt.Core/Tasks/*.cs' \ > >> './src/NAnt.DotNet/Types/*.cs' \ > >> './src/NAnt.DotNet/*.cs' \ > >> './src/NAnt.DotNet/Tasks/*.cs' > >> ./src/NAnt.Core/ConsoleDriver.cs(226) warning CS0618: Method > >> `XslTransform.Load(System.Xml.XmlReader)' is obsolete: `You should pass > >> evidence.' > >> ./src/NAnt.Core/Tasks/StyleTask.cs(211) warning CS0618: Method > >> `XslTransform.Load(System.Xml.XmlReader)' is obsolete:`You should pass > >> evidence.' > >> Compilation succeeded - 2 warning(s) > >> > >> ======== > >> > >> [EMAIL PROTECTED] nant-0.8.3.50105]$ mono bin/mininant.exe linux-build > >> mininant version 0.0.0 > >> > >> log4net:ERROR Logger: No appenders could be found for logger > >> [NAnt.Core.TypeFactory] repository [log4net-default-domain] > >> log4net:ERROR Logger: Please initialize the log4net system properly. > >> > >> ** (bin/mininant.exe:8974): WARNING **: Could not find assembly > >> Microsoft.VSDesigner > >> > >> ** (bin/mininant.exe:8974): WARNING **: Could not find assembly > >> Microsoft.VSDesigner > >> > >> ** (bin/mininant.exe:8974): WARNING **: Could not find assembly > >> CollectionGen > >> INTERNAL ERROR > >> An exception was thrown by the type initializer for > >> NAnt.Core.TypeFactory > >> > >> Consult the log4net output for more information. > >> > >> Please send bug report to [EMAIL PROTECTED] > >> > >> > >> ------------------------------------------------------------------------ > >> > >> #!/bin/sh > >> make -f makefile.linux > >> mono bin/mininant.exe linux-build > >> > >> > >> ------------------------------------------------------------------------ > >> > >> # Simple makefile to build a miniNant with core and DotNetTasks > >> # > >> # ~ Matthew Metnetsky > >> # NDoc.Core.dll & log4net-net-1.0.dll we're being searched under > >> # ./bin/linux not under ./bin > >> # > >> MCS=mcs > >> local_paths= > >> all_assemblies= -r ./bin/NDoc.Core.dll -r ./bin/log4net-net-1.0.dll > >> -r System.Web.dll > >> all: mininant.exe > >> > >> mininant.exe: src/NAnt.Core/ConsoleDriver.cs > >> $(MCS) --unsafe -define:mono -debug -o bin/mininant.exe > >> $(local_paths) $(all_assemblies) \ > >> './src/NAnt.Core/*.cs' \ > >> './src/NAnt.Core/Types/*.cs' \ > >> './src/NAnt.Core/Util/*.cs' \ > >> './src/NAnt.Core/Attributes/*.cs' \ > >> './src/NAnt.Core/Tasks/*.cs' \ > >> './src/NAnt.DotNet/Types/*.cs' \ > >> './src/NAnt.DotNet/*.cs' \ > >> './src/NAnt.DotNet/Tasks/*.cs' > >> > >> clean: > >> bin/mininant.exe > >> > >> > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > nant-developers mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/nant-developers > > -- Met @ Uber <[EMAIL PROTECTED]> Uberstats ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers