ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8359] - Exec task seems to disregard quotes and apostrophes in arg attribute values.
Date Tue, 11 Jun 2002 15:15:59 GMT
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 &quot;'{}'&quot; &quot;';'&quot;"
/>

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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message