Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 6703 invoked from network); 11 Jan 2005 17:11:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Jan 2005 17:11:45 -0000 Received: (qmail 94415 invoked by uid 500); 11 Jan 2005 17:11:43 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 94369 invoked by uid 500); 11 Jan 2005 17:11:43 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 94353 invoked by uid 99); 11 Jan 2005 17:11:43 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.mdli.com (HELO mail.mdli.com) (208.200.221.8) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 11 Jan 2005 09:11:41 -0800 Received: from exch-sl02.mdli.com (exch-sl02.mdli.com [172.16.3.10]) by mail.mdli.com (Postfix) with ESMTP id BD6B2B5E3C for ; Tue, 11 Jan 2005 09:11:39 -0800 (PST) Received: from [172.16.46.18] (172.16.46.18 [172.16.46.18]) by exch-sl02.mdli.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id YF0R2WJX; Tue, 11 Jan 2005 09:11:39 -0800 Message-ID: <41E408C6.6020601@mdl.com> Date: Tue, 11 Jan 2005 09:11:34 -0800 X-Sybari-Trust: fe4a3472 34710b9d f18fdccc 0000013d From: "Alexey N. Solofnenko" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: ANT does not seem closing JAR files correctly. References: <41CBD1CA.2000100@mdl.com> <41D0AF14.3060903@mdl.com> <41E2D7B9.5000302@mdl.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N So something was special in my case... I can try to reproduce the jar. There are many copyrighted files involved. Should I sent the jar to you? - Alexey. Stefan Bodewig wrote: >On Mon, 10 Jan 2005, Alexey N. Solofnenko >wrote: > > > >>After some research I found that I had the same file twice in a JAR >>(two inner filesets were referencing the same file - this is an >>interesting situation too - fileset joining would behave >>better). There is a bug already that inclusion of the same file >>breaks ANT. >> >> > >I only recall a bug report where having the same file twice inside the >same archive breaks Java WebStart, the archive was technically valid. >Do you have the bug number? Maybe you are talking about a different >report than me. > > > >>This still seems a bug - ANT should not produce broken archives in >>this situation. >> >> > >I completely agree with you and I don't think Ant does: > >[bodewig@bodewig tmp]$ cat zip.xml > > > > > > >[bodewig@bodewig tmp]$ ant -f zip.xml >Buildfile: zip.xml > [zip] Building zip: /tmp/test.zip > >BUILD SUCCESSFUL >Total time: 2 seconds >[bodewig@bodewig tmp]$ zip -Tv test.zip >test.zip: found a preamble of 119 bytes >Archive: test.zip > testing: zip.xml OK > testing: zip.xml OK >No errors detected in compressed data of test.zip. >test of test.zip OK > >Stefan > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org >For additional commands, e-mail: dev-help@ant.apache.org > > -- ------------------------------------------------------------------------ / Alexey N. Solofnenko MDL Information Systems, Inc. work: 510-357-2222x1726 / --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org