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=29573>. 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=29573 Copy with filterset changes file type from UNIX to PC Summary: Copy with filterset changes file type from UNIX to PC Product: Ant Version: 1.5.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Running Win2k and ant 1.5.1 When using the copy task with a filterset (see sample below) on a unix formated file, the target file will be changed to PC formatted. Sample: <copy file="test.xml" todir="/etc" > <filterset begintoken="REPLACEWITH-" endtoken="-HERE" > <filter token="WAR_PATH" value="/www/apps/test.war" /> </filterset> </copy> My guess is that it is never checked what filetype the file is, but only the localfile type is used when processing the file. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]