I have to write an Nant script that will accept 2 parameters on the command line. The first is just an option and has the following format: -myOption. The second one needs to be wrapped in quotes: "some value with space".
e.g. -myOption "this value"
I am new to Nant so I have unsuccessful so far and don't know how to output the command to debug.
This is what I have so far:
<target name="Build" depends="SetupConfig">
<exec workingdir="${refactory.basedir}" program="${exe.name.mfg.factory}" basedir="${refactory.basedir}" commandline="-myOption:">
<arg>${refactory.clientconfig}</arg>
</exec>
I am attempting to create the command using the "commandline"' attribute and the args nested element. The args element is supposed to provide qoutes.
Can some tell me how this should look? Thanks.