You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Curt Arnold <ca...@apache.org> on 2007/02/20 23:58:22 UTC
log4net on Gump
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: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org
Re: log4net on Gump
Posted by Curt Arnold <ca...@apache.org>.
On Feb 20, 2007, at 10:50 PM, Stefan Bodewig wrote:
> On Tue, 20 Feb 2007, Curt Arnold <ca...@apache.org> wrote:
>
>> The nant project fails and I'm guessing that Gump is executable a
>> fallback behavior to run an previously installed version of NAnt.
>
> No, Gump doesn't do anything like that. Unfortunately.
>
> Gump picks up NAnt.exe from PATH, that's it. Even though I've written
> (well, pasted together would be closer to the truth) the NAnt specific
> code in Gump, I can't remember whether it has ever really been used at
> all. It may very well be possible that it doesn't work as advertized.
>
>> However, Mono just installs a /usr/bin/nant symbolic link which
>> would not be invoked if NAnt.exe was invoked.
>
> Why should it? Running "mono NAnt.exe" should work just fine.
>
> Stefan
>
Gump's <nant> builder doesn't seem to exec "mono NAnt.exe", it just
execs "NAnt.exe" which isn't an executable or on the path on a Mono
install (at least on Mac OS/X). If the builder were changed to just
exec "nant" or a symlink were added that redirected NAnt.exe to /usr/
bin/nant then it would likely get a little further. On Mac OS/X, /
usr/bin/nant is just a little more complicated than "mono
NAnt.exe" (it sets an environment variable too).
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org
Re: log4net on Gump
Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 20 Feb 2007, Curt Arnold <ca...@apache.org> wrote:
> The nant project fails and I'm guessing that Gump is executable a
> fallback behavior to run an previously installed version of NAnt.
No, Gump doesn't do anything like that. Unfortunately.
Gump picks up NAnt.exe from PATH, that's it. Even though I've written
(well, pasted together would be closer to the truth) the NAnt specific
code in Gump, I can't remember whether it has ever really been used at
all. It may very well be possible that it doesn't work as advertized.
> However, Mono just installs a /usr/bin/nant symbolic link which
> would not be invoked if NAnt.exe was invoked.
Why should it? Running "mono NAnt.exe" should work just fine.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org