Date: 2004-03-30T13:48:15 Editor: 192.132.24.81 <> Wiki: Ant Wiki Page: AntNewbies URL: http://wiki.apache.org/ant/AntNewbies
no comment Change Log: ------------------------------------------------------------------------------ @@ -1,9 +1,9 @@ == This is the AntNewbies page where newbies that can ask difficult but clear questions. == -""Q)"" How do you escape a " in an argument to an Exec command. This is what I have. + ```Q)``` How do you escape a " in an argument to an Exec command. This is what I have. -{ { { +{{{ <target name="RSM" depends="init"> <property name="preflag" value="-wc -w"/> <property name="filedat" value=""/> @@ -15,10 +15,10 @@ <exec dir="c:\rsm\rsm" executable="rsm.exe" output="dir.txt"> <arg line="${string}"/> </exec> -} } } +}}} This is what I'm trying to duplicate on the command line with Ant. -{ { { +{{{ rsm -wc -w "File dat c:\rsm\MyProject_${tstamp}.dat" -r h,cpp,java c:\rsm\MyProject_v1.0_rsm\MyProject -} } } +}}} --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]