Hi

Hopefully this is also the forum for antlib projects :)

I have found a problem with the csc task in ant-dotnet-1.0.jar. If the file or 
directory contains spaces then the csc command fails on windows.

There seems to be a very simple fix which I have used locally and appears to 
work. I'm not sure what the procedure is for getting this into the repository 
so hopefully someone can pick it up.

In class 

org.apache.ant.dotnet.compile.DotnetBaseMatchingTask

protected void addFilesToCommand(...)
{
   ...

   // line 149 original: command.addArgument(file.toString());
   command.addArgument('"'+file.toString()+'"');

   ...
}

Thanks
Hassan





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

Reply via email to