Affects Version/s: 1.0-milestone-3
Fix Version/s: 1.7-rc-1
I have found the filtering and expansion of the war task (and subsequently all copy tasks) to be problematic due to every file being attempted to be read as a text file with a certain encoding. This means that when binary files are read, they are written back out incorrectly.
I have had related problems with the expand() tool and binary files that contain characters that it can't parse.
A potential solution would be to all of the filter/expand operation to operate on a subset of what is being copied.