DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28614>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28614 backslash is removed from filter token value Summary: backslash is removed from filter token value Product: Ant Version: 1.6.1 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Example, say, the NEW_DIR is C:\a\b\c, and try the follwing <property name="new.dir" location="${env.NEW_DIR}"/> <target name="replace"> <copy overwrite="yes" file="my.script" tofile="$temp.script"> <filterset> <filter token="NEW_DIR" value="${new.dir}"/> </filterset> </copy> </target> @NEW_DIR@ is replaced but the resulting string is stripped off all backslash characters (not substituted by / character, either). So, the C:\a\b\c becomes C:abc. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]