Title: <exec> mcs on SuSE 9.1 fails!

Hello!

Running build project on SuSE 9.1 which should compile library with the following command line fails as shown below.
When mcs called directly with the very same command line everything works fine.

My exec node is:

        <exec if="${platform::is-unix() or usemcs}"
                                program="mcs"
                                failonerror="true"
                                commandline="-target:library *.cs -nowarn:0162 -reference:System.dll
                                                        -out:${build.dir}${DirSepar}${basename}${AssemExt} -unsafe+ -warn:4

                                                        -debug${mcsdebug}"
                                workingdir="${project::get-base-directory()}"
        />


Whats the problem?

build:

     [exec] Starting 'mcs (-target:library *.cs -nowarn:0162 -reference:System.dll
     [exec]        -out:./bin/Release/xxx.dll -unsafe+ -warn:4
     [exec]        -debug-)' in '/home/user/projects/XXX'
     [exec]
     [exec] Unhandled Exception: System.ArgumentException: The path is not of a legal form
     [exec] Parameter name: path
     [exec] in <0x000a1> System.IO.Path:GetFullPath (string)
     [exec] in <0x00017> Mono.CSharp.Location:AddFile (string)
     [exec] in <0x00028> Mono.CSharp.Driver:ProcessFile (string)
     [exec] in <0x00084> Mono.CSharp.Driver:CompileFiles (string,bool)
     [exec] in <0x004cc> Mono.CSharp.Driver:MainDriver (string[])
     [exec] in <0x00012> Mono.CSharp.Driver:Main (string[])
     [exec]

Reply via email to