ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Tar and resource collections
Date Thu, 20 Oct 2005 14:58:41 GMT
--- Stefan Bodewig <bodewig@apache.org> wrote:

> On Wed, 19 Oct 2005, Matt Benson
> <gudnabrsam@yahoo.com> 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:
> 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


Mime
View raw message