[Mono-list] I kind of built nant 8.3 on RH9+Mono, but then ...

Richard Torkar richard.torkar@htu.se
Thu, 02 Oct 2003 11:23:22 +0200


On Thu, 2003-10-02 at 05:04, A Rafael D Teixeira wrote:
> Well, I had to fiddle with the mininant makefile, had to copy/rename dll 
> from log4net-1.2.0-beta8, had to create an mininant.exe.config and make 
> changes in NAnt.exe.config (not yet on the source it is compiled), and NAnt 
> 8.3 runs, but:

> I had to keep NAnt.exe in /usr/lib/ with NAnt.*Tasks.dll assemblies or it 
> would not find the tasks (mono linux-friendly separation of exes and dlls, 
> plays havoc with NAnt autoconfigurable factories...). I may have missed some 
> setting that would help with that but...

Yes, the NAnt.*Tasks.dll must be kept in the same dir as NAnt.exe. Many
people use NAnt directly from its directory and don't install it
somewhere else. Just change PATH and library path.

> I had to uncomment code on resgentask.cs, for it to work correctly in linux, 
> as needed for next step

I didn't need that with NAnt-cvs. I did a _make_ after editing 
<nant root>\src\NAnt.Console\NAnt.Console.exe.config.linux and changing
3 PATH directives. In the CVS version they now have much better support
for *NIX.

/Richard
-- 
"UNIX is basically a simple operating system,
but you have to be a genius to understand the simplicity."