http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2672
*** shadow/2672 Wed Jul 18 09:06:06 2001 --- shadow/2672.tmp.10164 Wed Jul 18 09:06:06 2001 *************** *** 0 **** --- 1,28 ---- + +============================================================================+ + | filter/copy tasks will change files even if no filter tokens replaced | + +----------------------------------------------------------------------------+ + | Bug #: 2672 Product: Ant | + | Status: NEW Version: 1.3 | + | Resolution: Platform: PC | + | Severity: Major OS/Version: Windows NT/2K | + | Priority: Other Component: Core tasks | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Copying files with the built-in task copy with the attribute filtering="on" + will change the files, even if no tokens have been replaced. + + The copied file contains an appended NewLine character and all end-of-line + characters are changed. + + This causes problems when applying such a copy task to a JSP (java server page) + which provides binary format (e.g. contentType="application/vnd.rn-realmedia" + or contentType="application/x-java-serialized-object") + + The expected correct behaviour would be the file completely unchanged, if no + replacements have been applied.
