> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Trevor Misfeldt
> Sent: maandag 27 maart 2006 6:01
> To: nant-developers@lists.sourceforge.net
> Subject: [nant-dev] Internal error: illegal characters in exec call
> 
> 
> I got this error with this line:
> 
> <exec program="csc /t:library /platform:x86
> /addmodule:../Shared/NMathShared.netmodule
> /addmodule:../Kernel/NMathKernel.netmodule /out:NMathCore.dll *.cs"/>
> 
> The execution works fine from the command-line. Should I be escaping
> characters there? 

You should use <arg> element to specify the commandline argument for csc:

<exec program="csc">
        <arg value="/t:library" />
        <arg value="/platform:x86" />
        ...
</exec>

> BTW, I'm doing this 'cause I don't see a platform option on 
> csc yet. I'm
> using a nightly build from a few days ago.

I'll add this asap.

Gert



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to