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=20947>. 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=20947 treatment of special characters by ant (escaping * -> \*) Summary: treatment of special characters by ant (escaping * -> \*) Product: Ant Version: 1.5.3 Platform: Other OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If I run the following task <!-- NOTE: LANG=C required in order for the build to work with ssh (ssh sets LANG=POSIX) --> <exec executable="${linker.selected}" dir="${dist.dir}" failonerror="true"> <arg line="${linker.args} *.o"/> <env key="LANG" value="C"/> </exec> Then the * in <arg line="${linker.args} *.o"/> gets changed from a special character to a normal character i.e it gets 'escaped'. Now although I can work around this behaviour by first constructing a fileset to select all objects files (*.o) and then convert this to a space seperated list this problem of escaping of special characters has other problems. If an object file in the list of objects files resides in a directory which contain a space then it won't be found by the operating system because ant seems to do some processing on the space contained in the list --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]