Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 44887 invoked from network); 20 Oct 2005 14:59:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Oct 2005 14:59:07 -0000 Received: (qmail 54067 invoked by uid 500); 20 Oct 2005 14:59:04 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 54026 invoked by uid 500); 20 Oct 2005 14:59:03 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 54015 invoked by uid 99); 20 Oct 2005 14:59:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2005 07:59:03 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.201.65] (HELO web30912.mail.mud.yahoo.com) (68.142.201.65) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 20 Oct 2005 07:59:03 -0700 Received: (qmail 39786 invoked by uid 60001); 20 Oct 2005 14:58:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=qPRaL0rZlQtdcAYYTLG/JeyXHLo8CmiMAjR4OQDV41tmEwh61iLo7e5H2Vso8RDP6IQkcaJeQjtahFcjZqIheQnm9gsG7ttm2Sg0ADRcMBk3X+OTYFt+0nP0zHZXIdEeg47GbkrLZqarB3aIkjj5VC23oYg/1ujpG3yUN8dNm4I= ; Message-ID: <20051020145841.39784.qmail@web30912.mail.mud.yahoo.com> Received: from [66.10.233.130] by web30912.mail.mud.yahoo.com via HTTP; Thu, 20 Oct 2005 07:58:41 PDT Date: Thu, 20 Oct 2005 07:58:41 -0700 (PDT) From: Matt Benson Subject: Re: Tar and resource collections To: Ant Developers List In-Reply-To: <87d5m0onc3.fsf@www.samaflost.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --- Stefan Bodewig wrote: > On Wed, 19 Oct 2005, Matt Benson > wrote: > > > Hmm... seems like it would take some work (maybe a > lot > > of stream magic), but would still be doable to try > to > > augment ZipResource to be able to accept a ZipFile > > instance... ZipFile gets an isOpen() method... > > ZipScanner passes down its ZipFile and defers > close() > > to some hook... > > I thought about this as well, but I failed to find a > non-intrusive way > to make the hook know when to fire. > can be defined > outside of any task, for example. And I wouldn't > want to add cleanup > code that was a no-op for all resource collections > and had to be > called in all tasks using resource collections. I'll keep thinking about this. It'll be like (the nightmare that is) the redirector element stuff. By now everyone should be realizing that I have a personal weakness for trying to find ways to do these things... -Matt > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > dev-unsubscribe@ant.apache.org > For additional commands, e-mail: > dev-help@ant.apache.org > > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org