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 25163] - Unzip: java.io.IOException: Negative seek offset
Date Wed, 03 Dec 2003 14:33:22 GMT
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=25163>.
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=25163

Unzip: java.io.IOException: Negative seek offset





------- Additional Comments From peter.reilly@corvil.com  2003-12-03 14:33 -------
As a work-around (and when ant 1.6 beta3 comes out soon..)
you can use <for> from ant-contrib, (for is like foreach
but it uses macrodef instead of antcall so it is currently faster
for each iteration).
<project default="u" xmlns:ac="antlib:net.sf.antcontrib">
  <target name="u">
    <mkdir dir="unzipped"/>
    <ac:for param="file">
      <ac:path>
        <ac:fileset dir="${basedir}" includes="**/*.gz"/>
      </ac:path>
      <ac:sequential>
        <gunzip src="@{file}" dest="unzipped"/>
      </ac:sequential>
    </ac:for>
  </target>
</project>

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


Mime
View raw message