ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44812] New: ~ doesn't work in excludes
Date Fri, 11 Apr 2008 21:18:44 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44812

           Summary: ~ doesn't work in excludes
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: notifications@ant.apache.org
        ReportedBy: patricia_shan8@hotmail.com


I have the following 

        <property name="excludes.files"
                value="**/CVS/**,**/unused/**,**/old/**,**/eclipse/**,
                        **/Not*Being*Used/**,**/~*" />

I also tried it using

        <property name="excludes.files"
                value="**/CVS/**,**/unused/**,**/old/**,**/eclipse/**,
                        **/Not*Being*Used/**,~*" />

..................
        <copy todir="${help.local.home}">
                <fileset dir="${help.accp.home}" 
                        casesensitive="false" >
                        <exclude name="${excludes.files}" />
                </fileset>
        </copy>
..................
But it still copied a file whose file name started with "~"

This might be address in the Ant manual, but it appears that all search
engines, including the one used by the Ant manual (Google) ignore special
characters, including "<".
This is a real handicap for Ant.


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

Mime
View raw message