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 5035] - Patternset and fileset enhancements
Date Thu, 06 Jan 2005 23:20:52 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=5035>.
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=5035





------- Additional Comments From gudnabrsam@yahoo.com  2005-01-07 00:20 -------
DD, isn't it true that the expected use of fileset (henceforth AFS for
AbstractFileSet) is to get a DirectoryScanner (DS) on it to scan for files, find
included files/dirs and resolve those against the AFS's basedir, either using
FileUtils or new File(File, String)?  My recommendation on absolute paths (if we
can make them work) would have to be that AFS.dir == null, in which case as long
as the string filenames returned for the AFS in question contain absolute paths
we should be BC according to java.io.File's javadoc.  Two things about the
implementation in DS:  1, a lot of stuff may have to be scanned, and 2, some
extra pattern interpretation code would have to implemented for stuff like
Windows UNCs.  All in all, it sounds fairly painful but not impossible.  Again,
realize that I am pushing away from nested filesets on the grounds that allowing
absolute paths in a single fileset should ultimately achieve the spirit of the
request in a less confusing (IMO) manner than would be brought about by nested
filesets (of all things).  ;)

-- 
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