ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47326] copy task with filter corrupts jars
Date Sun, 07 Jun 2009 09:11:06 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47326


J.M. (Martijn) Kruithof <jkf@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from J.M. (Martijn) Kruithof <jkf@apache.org>  2009-06-07 02:11:06 PST
---
If you apply a text filter to a binary file, the file will be corrupted. This
is documented.

This has 2 reasons
1) As the file is treated as text line endings will be converted.
2) The token may occur and be replaced

>From the manual:
Note: When a filterset is used in an operation, the files are processed in text
mode and the filters applied line by line. This means that the copy operations
will typically corrupt binary files. When applying filters you should ensure
that the set of files being filtered are all text files.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message