ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: cvs commit: ant/src/testcases/org/apache/tools/ant DirectoryScannerTest.java
Date Wed, 16 Jul 2003 11:44:10 GMT
On Wed, 16 Jul 2003, Antoine Levy-Lambert <antoine@antbuild.com>
wrote:

> - The other possibility is to write (for instance in FileUtils) a
> routine of the type public static File findFileCaseInsensitive(File
> basedir, String child) which internally would try all
> uppercase/lowercase combinations of child and return null if the
> file cannot be found, or otherwise the sought file.

I have something close to that almost ready to commit 8-)

It's a little bit more than that, as you'll also have to ensure that
the real file name ends up in getIncluded*.  And then there is the
equals that needs to become an equalsIgnoreCase at the end of
checkIncludePattern.

Stefan

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


Mime
View raw message