You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/01/21 17:04:01 UTC

DO NOT REPLY [Bug 26312] - concat changes binary files

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26312>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26312

concat changes binary files





------- Additional Comments From peter.reilly@corvil.com  2004-01-21 16:04 -------
Yep there is a problem with encoding. By default concat
uses an output and inputstream reader using the default encoding
(which I think is UTF-8) this does not work too good with
binary files.

Try using:

<concat destfile="${dist}/${websearch}_${version}.bin" encoding="ISO-8859-1">
  <filelist dir="${dist}" files="install.pl"/>
  <filelist dir="${dist}" files="${websearch}.${version}.tar.gz"/>
</concat>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org