On Tue, 14 Oct 2003, Gert Driesen <[EMAIL PROTECTED]> wrote:

> So what we need is a way of determining that NAnt is running on Mac,
> so we can create a third "platform" for Mac...

No, what you need is a way of determining whether you can use mono or
have to fall back to mint.  AFAIU mono is only stable for i386 based
systems.

For Mono 0.29 a stable JIT for PPC has been promised, so Mac => mint
would be wrong then.

I don't think you can autodetect it

> For now, you can change the runtime that's used by configuring the
> platform node for unix in the NAnt configuration file
> (src/NAnt.Console/NAnt.Console.exe.config before you build, or
> bin/NAnt.exe.config after you've built NAnt).

You mean the runtimeengine attribute of <framework>?  How is the
framework node selected by NAnt?

Hmm, I assume adding a mint config in addition to
NAnt.Console.exe.config.linux and renaming the .linux to .mono and
changing

        cp src/NAnt.Console/NAnt.Console.exe.config.linux bin/NAnt.exe.config

in the Makefile to something more conditional would do.

I'll try that and come back to you 8-)

Stefan


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to