I added project/logging-log4net.xml and updated profile/gump.xml yesterday. The project is now attempted to build on both vmgump and clarus and both fail with a message about NAnt.exe not being found. I didn't expect the build to succeed since it will eventually fail because it can't find log4net.snk, but wanted to see how far it would go.

The nant project fails and I'm guessing that Gump is executable a fallback behavior to run an previously installed version of NAnt. However, Mono just installs a /usr/bin/nant symbolic link which would not be invoked if NAnt.exe was invoked. I would think that adding a symlink for /usr/bin/NAnt.exe pointing to the same target as /usr/bin/ nant would work around the problem without needing to change the Gump code.

For Clarus, I'd add a step 4 to the previous requested changes:

1. Download Mono 1.2.3.1_0 Framework - Universal (Stable) from http://www.mono-project.com/Downloads

2. Install framework

3. Modify /Library/Frameworks/Mono.framework/Versions/1.2.3.1/bin/nant

Mono comes with a prebuilt NAnt 0.85, but on Mac OS/X, it needs to have the export PKG_CONFIG_PATH statement added to the nant file.

#!/bin/sh
export PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/ Current/lib/pkgconfig /Library/Frameworks/Mono.framework/Versions/1.2.3.1/lib/ pkgconfig/../../bin/mono /Library/Frameworks/Mono.framework/ Versions/1.2.3.1/lib/NAnt/NAnt.exe "$@"

See http://www.bleepsoft.com/tyler/index.php?itemid=82 and http:// bugzilla.ximian.com/show_bug.cgi?id=79671. Bug should be fixed in next release of Mono.

4. sudo ln -s /usr/bin/nant /usr/bin/NAnt.exe



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to