Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 93294 invoked from network); 19 May 2005 06:45:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 May 2005 06:45:36 -0000 Received: (qmail 64269 invoked by uid 500); 19 May 2005 06:42:33 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 64208 invoked by uid 500); 19 May 2005 06:42:32 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 64183 invoked by uid 99); 19 May 2005 06:42:32 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of antoine@gmx.de designates 213.165.64.20 as permitted sender) Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 18 May 2005 23:42:30 -0700 Received: (qmail 25190 invoked by uid 0); 19 May 2005 06:42:20 -0000 Received: from 194.39.131.39 by www57.gmx.net with HTTP; Thu, 19 May 2005 08:42:20 +0200 (MEST) Date: Thu, 19 May 2005 08:42:20 +0200 (MEST) From: "Antoine Levy-Lambert" To: "Ant Users List" MIME-Version: 1.0 References: <20050518211503.59441.qmail@web30213.mail.mud.yahoo.com> Subject: Re: Problem with task X-Priority: 3 (Normal) X-Authenticated: #22961642 Message-ID: <16551.1116484940@www57.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N What you can do : 1) to analyze the error more deeply, try to create a gzipped file with ant and gunzip it with ant on your platform. 2) compare the binary look and feel of the gzip created by ant and the other gzip file which is failing to be gunzipped 3) if you do not find an explanation in steps 1) and 2) file a bug report with a sample build file and a sample gz file which fails to be gunzipped by ant (as attachment of course). indicate in the bug report how the gzip file which ant fails to expand is being created (which utility, on which platform) Cheers, Antoine > --- Urspr�ngliche Nachricht --- > Von: Ninju Bohra > An: Ant Users Group > Betreff: Problem with task > Datum: Wed, 18 May 2005 14:15:03 -0700 (PDT) > > Hello all, > > ANT v1.6.2 > OS: Windows XPPro > > I am trying the task on a .tar.gz file and I > get: > > get.ungzip.info: > [input] skipping input as property gzip.filename > has already been set. > > get.import.info: > [input] skipping input as property import.user has > already been set. > [input] skipping input as property import.password > has already been set. > [input] skipping input as property import.service > has already been set. > Setting project property: import.login -> > junk/junk@junk > > ungzipDB: > [gunzip] Expanding > C:\Dumps\Testing\testinggzip.tar.gz to > C:\DOCUME~1\dwagner\LOCALS~1\Temp\dbexport\testinggzip.tar > > BUILD FAILED > C:\Tools\Resoft\Ant\schemaCopy.xml:241: Problem > expanding gzip Corrupt GZIP trai > ler > at > org.apache.tools.ant.taskdefs.GUnzip.extract(GUnzip.java:64) > at > org.apache.tools.ant.taskdefs.Unpack.execute(Unpack.java:119) > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) > at > org.apache.tools.ant.Task.perform(Task.java:364) > at > org.apache.tools.ant.Target.execute(Target.java:341) > at > org.apache.tools.ant.Target.performTasks(Target.java:369) > at > org.apache.tools.ant.Project.executeTarget(Project.java:1214) > at > org.apache.tools.ant.Project.executeTargets(Project.java:1062) > at > org.apache.tools.ant.Main.runBuild(Main.java:673) > at > org.apache.tools.ant.Main.startAnt(Main.java:188) > at > org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) > at > org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) > Caused by: java.io.IOException: Corrupt GZIP trailer > at > java.util.zip.GZIPInputStream.readTrailer(GZIPInputStream.java:174) > at > java.util.zip.GZIPInputStream.read(GZIPInputStream.java:89) > at > org.apache.tools.ant.taskdefs.GUnzip.extract(GUnzip.java:60) > ... 11 more > > The file (testinggzip.tar.gz) was built on a Linux box > (RedHat version 1.3.3) and we are able to open the > .tar.gz with problem (via the gzip -cd > testinggzip.tar.gz | tar xvf - instruction) > > Any ideas? > > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org