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 25704] - Support for Sun Solaris' Tar Format for long file name
Date Wed, 30 Aug 2006 01:10:38 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=25704>.
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=25704





------- Additional Comments From wang.liang4@zte.com.cn  2006-08-30 01:10 -------
Created an attachment (id=18765)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18765&action=view)
Src which been modified to fix tar task to surport Sun tar. Base on ant version
1.6.5.

include java source file:
	org\apache\tools\ant\taskdefs\Tar.java
	org\apache\tools\tar\TarConstants.java
	org\apache\tools\tar\TarEntry.java
	org\apache\tools\tar\TarOutputStream.java
	org\apache\tools\tar\TarUtils.java


I test it on windows 2000 and sun solaris 9, java version is 1.4.2_08, it works
well.
Still exist problem is:
This patch cannot surport multi-byte file names well.
Such as GB2312 code, it can not surport the file names's "String" length over
50.


-- 
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