Just to confirm, i've been " using in the arg line and it's been
working fine...

- steve

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nguyen,
Daniel
Sent: Thursday, November 09, 2006 3:27 PM
To: Alan Guedeney; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Trying to escape double quotes when using exec
task ...

Alan,

Try this and let me know if it works.  (Notice, I replaced the double
quote with this --> " )

<!-- None of the arg lines work -->
<exec program="${some.exe}" workingdir="${my.dir}">
    <arg line="  &quot;argument&quot;   " />
    <arg line="  &quot;argument&quot;   " />
</exec>

 
Good luck!
Daniel


-----Original Message-----
From: Alan Guedeney [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 09, 2006 2: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



------------------------------------------------------------------------
-------------
A.G. Edwards & Sons' outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other 
than the recipient.

------------------------------------------------------------------------
-------------


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