https://issues.apache.org/bugzilla/show_bug.cgi?id=46228

           Summary: includesfile is case sensitive
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


<copy todir="${web.lib.dir}" preservelastmodified="true">
                <flattenmapper/>
                <fileset dir="${lib}" includesfile="includes.lst"/>
        </copy>

Parameter includesfile does case sensitive matching on Windows, which is bad,
because Windows filesystems are not case sensitive.

It's bad, because <available file="..."> is NOT case sensitive and it leads to
inconsistency.

I have a task, wchich checks all the includes.lst entries for existence using
<available> (in a for loop). The check has passed, but some of files were not
copied, because the actual directory name was different than in includes.lst.

Another solution would be to add "casesensitive" option to <available>.


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

Reply via email to