--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > On Wed, 19 Oct 2005, Matt Benson > <[EMAIL PROTECTED]> 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. <zipfileset> > 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: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]