Use the <arg value="somearg"> and you won't need to quote your arguments.
But if you do still need to: <arg value='"some quoted arg"' /> Or <arg value=""Some quoted arg"" /> > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Alan Guedeney > Sent: Thursday, November 09, 2006 3:17 PM > To: nant-users@lists.sourceforge.net > Subject: [NAnt-users] Trying to escape double quotes when > using exec task ... > > Anyone know the answer? Usually doubling up on double quotes > works for XML. > > <!-- None of the arg lines work --> > <exec program="${some.exe}" workingdir="${my.dir}"> > <arg line=" \"argument\" " /> > <arg line=" ""argument"" " /> > </exec> > > Thanks, > -Alan > > > > -------------------------------------------------------------- > ----------- > 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-users mailing list > NAnt-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-users > ------------------------------------------------------------------------- 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-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users