ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43348] - add FileProvider interface for file providing resources
Date Wed, 26 Sep 2007 14:27:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43348>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43348





------- Additional Comments From gudnabrsam@yahoo.com  2007-09-26 07:27 -------
(In reply to comment #4)
> Makes sense, though everyone needs to be aware that there is a risk that
> triggers a full walk of the tree to check. some collections, those that only
> support FileResource and FileProvider instances could exit faster, but something
> like Union lacks that option

Yeah, but subclasses of BaseResourceCollectionContainer try to do the isFilesystemOnly check
as 
efficiently as possible to avoid a full walk... in theory anyway.

Beyond this, note that a lot of the tasks that currently expect FileResources (I started working
on the 
changes to FileProvider before I saw that you had already started) want a basedir, etc.  Do
you (or 
anyone else) think we should (or shouldn't) make

File getBasedir();

part of the FileProvider interface?

Personally, I think we might need to...

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message