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/main/org/apache/tools/ant/util SourceSelector.java
Date Mon, 17 Feb 2003 13:19:10 GMT
On 17 Feb 2003, <bodewig@apache.org> wrote:

>   Tighten up contract for resource names.

This is the next step of API cleanup.  This needs some testing on
Windows, it works for Unix, but this is to be expected.

> -              mapper.mapFileName(source[counter].getName()); 
> +              mapper.mapFileName(source[counter].getName() 
> +                                 .replace('/', File.separatorChar));

is necessary for backwards compatibility reasons.

So far FileNameMappers have only been applied to filenames returned
from DirectoryScanner and those names use the platform's directory
separator.

Stefan

Mime
View raw message