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 48156] New: isfileselected doesn't support the nested "containsregex" element
Date Fri, 06 Nov 2009 19:44:34 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48156

           Summary: isfileselected doesn't support the nested
                    "containsregex" element
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: tennant@webpd.com


<isfileselected..> seems to support other Selectors but not containsregex.

<project name="test" default="regextest">
<target name="regextest">
    <condition property="regex.matches">
            <isfileselected file="myfile">
                <containsregex pattern="myreg"/>    
            </isfileselected>
    </condition>
</target>
</project>

Verified on RHEL and WinXP.

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