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 2003/03/16 21:40:37 UTC
DO NOT REPLY [Bug 18043] New: -
Untaring Xerces-J archive causes tar to generate huge erroneous 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=18043>.
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=18043
Untaring Xerces-J archive causes tar to generate huge erroneous files
Summary: Untaring Xerces-J archive causes tar to generate huge
erroneous files
Product: Ant
Version: 1.5.1
Platform: PC
URL: http://xml.apache.org/dist/xerces-j/Xerces-J-
bin.2.3.0.tar.gz
OS/Version: Linux
Status: NEW
Severity: Critical
Priority: Other
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: justin@squinky.org
There must be a bug in the tar implementation because when I try to untar the
Xerces file ant hangs and starts producing huge files whose names and contents
appear to be a bunch of random data. I untarred Xerces using redhat 8.0 tar and
retarred it and the files are slightly different sizes and it still generates
all kinds of random files. Perhaps a bug reading the directory information?
This is the md5 hash of the offending Xerces file.
a203579b9b49b74f759717f388c4bbfa
jdori.archive=${tools.dir}/jdori-1_0-fcs-src-04_Mar_2002.zip
tjdo.archive=${tools.dir}/TJDO_2_0_beta2.zip
xerces.archive=${tools.dir}Xerces-J-bin.2.3.0.tar.gz
<target name="install-jdo" depends="init">
<unzip src="${tjdo.archive}" dest="${lib.java.dir}"/>
<unzip src="${jdori.archive}" dest="${temp.dir}/jdori"/>
<copy file="${temp.dir}/jdori/src/jdo.jar" todir="${lib.java.dir}"/>
<copy file="${temp.dir}/jdori/src/jdori.jar" todir="${lib.java.dir}"/>
<move file="${lib.java.dir}/tjdo/lib/tjdo.jar" todir="${lib.java.dir}"/>
<untar src="${xerces.archive}" dest="${lib.java.dir}" />
</target>