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 Ant seens to disregard quotes and apostrophes in attributes Summary: Ant seens to disregard quotes and apostrophes in attributes Product: Ant Version: 1.4.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Other AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] It seems that Ant or the exec task disregards quotes and apostrophes in attributes. Example: <exec executable="plink.exe" dir="." failonerror="true"> <arg line="-ssh" /> <arg line="-pw ${DEPLOY_PASSWD}" /> <arg line="[EMAIL PROTECTED]" /> <arg line="find ${DEPLOY_ROOT_UNIX}/* -depth -not \( " /> <arg line="-path */${module_name}/files/nicko/*.xml -or " /> <arg line="-path */${module_name}/files/nicko -or " /> <arg line="-path */${module_name}/files/lifestyle/*.xml -or " /> <arg line="-path */${module_name}/files/lifestyle -or " /> <arg line="-path */${module_name}/files/channelv/*.xml -or " /> <arg line="-path */${module_name}/files/channelv -or " /> <arg line="-path */${module_name}/files -or " /> <arg line="-path */${module_name} " /> <arg line="\) " /> <arg line="-exec rm -f "{}" ";"" /> </exec> results in: [exec] plink.exe -ssh -pw [password_removed] [EMAIL PROTECTED] find /austar_p4/* -depth -not \( -path */html_interfaces/files/nicko/*.xml -or - path */html_interfaces/files/nicko -or - path /html_interfaces/files/lifestyle/*.xml -or -path */html_interfaces/files/lifestyle -or -path */html_interfaces/files/channelv/*.xml -or -path */html_interfaces/files/channelv -or -path */html_interfaces/files -or -path */html_interfaces \) -exec rm -f {} ; [exec] find: missing argument to `-exec' The exec task should be passed .... -exec rm -r "{}" ";" The same problem pops up when ' or 's are used in the argument definition, again only ... -exec rm -f {} ; is passed to the command. Thank you, Jan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
