Francisco,
 
you should use :
 
make clean && make nant (or just make all)
 
as the binary release that's available on sourceforge is built for the .NET Framework 1.0 on win32 ... Meaning that there's a task assembly in the bin directory that targets win32 (as it requires a fully functional JScript.NET implementation), hence the error ....
 
However, there are some issues in Mono (CVS) which prevent NAnt from working correctly on Mono >= 0.29 (bug reports were submitted)
 
To use NAnt with mint, you'll also have to update the framework section for the linux platform in the NAnt configuration file (src/NAnt.Console/NAnt.Console.exe.config) ...
 
Gert
----- Original Message -----
 
Sent: Tuesday, December 09, 2003 2:01 PM
Subject: [Nant-users] Re: [Mono-list] ANN: NAnt 0.84 Release Candidate 1 is now available

Gert Driesen wrote:
NAnt 0.84 Release Candidate 1 is now available for download at
http://sourceforge.net/project/showfiles.php?group_id=31650

For a list of changes since the 0.8.3 release, see
http://nant.sourceforge.net/releasenotes.html.

The NAnt Team
http://nant.sourceforge.net


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
  
I am using Mono 0.29 (from red-carpet) on RH 9.0.

I unzip the file and ran the bin/NAnt.exe using mint.  That did not work so good.

I then ran make at the base directory level (where NAnt.build file was located) and it looked like it was going farther -- it even built a NAnt.exe output by mcs.exe.

But I am still getting this error (fragment follows):

make nant
make[1]: Entering directory `/usr/local/NAnt'
if test x = xWindows_NT; then make windows-nant; else make linux-nant; fi
make[2]: Entering directory `/usr/local/NAnt'
mono bin/NAnt.exe -buildfile:NAnt.build build
NAnt 0.84 (Build 0.84.1435.0; net-1.0.win32; rc 1; 12/06/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net
 
 
** (bin/NAnt.exe:15566): WARNING **: Could not find assembly Microsoft.JScript
 
** (bin/NAnt.exe:15566): WARNING **: Could not find assembly Microsoft.JScript
 
** (bin/NAnt.exe:15566): WARNING **: Could not find assembly NAnt.Win32Tasks
INTERNAL ERROR
 
An exception was thrown by the type initializer for NAnt.Core.TypeFactory

/////////////////////////////////////////////////////////////

This may not be the correct forum, but maybe I will be asking something other Linux Mono users may want to get resolved also.

Fancisco "Paco" Martinez, MCSD
Fort Worth, Texas

-- Puerto Rico no necesita a Pedro Rosell�

Reply via email to