For some reason I seem to remember that if you use two single quotes
they will be transformed into a double quote. But, that may have been
some other tool, we use so many of them.

BOb


-----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

Reply via email to