You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/06/11 17:15:59 UTC
DO NOT REPLY [Bug 8359] -
Exec task seems to disregard quotes and apostrophes in arg attribute values.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8359>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8359
Exec task seems to disregard quotes and apostrophes in arg attribute values.
------- Additional Comments From bodewig@apache.org 2002-06-11 15:15 -------
Does
<arg line="find . -name \* -exec echo "'{}'" "';'"" />
do what you want?
<arg line> will be split into several arguments using a home brewed parser, Ant
does not pass a single string as the command line, it uses the String[] exec
method of Runtime.
What do you get when using 1.5beta2?
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>