[Mono-list] NAnt source

Simon Gill simongill@tmsinsight.co.uk
Wed, 11 Sep 2002 12:25:12 +0100


I don't know if you were aware of this, but there was a major problem
with NAnt's path support in the 2002-09-11. 

The big problem was a lack of quoting in the arguments to mcs and csc,
sourcefiles, outfiles, modules, references, etc. were all affected. I
made a quick and dirty fix to get mcs up on my machine. 

An example of the change.

In nant/src/Tasks/CompilerBase.cs CompilerBase.ExecuteTask()

@ foreach (string fileName in Modules.FileNames) {
<   WriteOption(writer, "addmodule", fileName);
@ }

@ foreach (string fileName in Modules.FileNames) {
>   WriteOption(writer, "addmodule", "\"" + fileName + "\"");
@ }