ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43558] - Ant created zips do not set internal_file_attributes bit 1 appropriately
Date Fri, 05 Oct 2007 09:24:34 GMT
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=43558>.
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=43558





------- Additional Comments From stevel@apache.org  2007-10-05 02:24 -------
We aren't going to try and be clever and work it out for the end user. There's a
good reason for that; the algorithms always get it wrong. Try, for example, to
distinguish UTF8 from iso-8859-1 or ANSI. 

1. We could do is add a textfiles attribute to zipfileset that tells zip to set
the bit 

<zipfileset dir="doc" includes="**/*.txt" textfiles="true" />

2. we'd need to do the same on unzip.

3. and write tests.

The normal best practise here is to use <fixcrlf> to force in the line endings
you want; DOS for BAT files and windows text, unix for .sh scripts, and
everything else can be left alone.


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

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


Mime
View raw message