You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2009/11/06 20:44:34 UTC

DO NOT REPLY [Bug 48156] New: isfileselected doesn't support the nested "containsregex" element

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.

DO NOT REPLY [Bug 48156] isfileselected doesn't support the nested "containsregex" element

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48156

Erik T <te...@webpd.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Erik T <te...@webpd.com> 2009-11-10 09:58:54 UTC ---
See, this is why you shouldn't allow us commoners access to bugzilla :-P

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

DO NOT REPLY [Bug 48156] isfileselected doesn't support the nested "containsregex" element

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48156

--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2009-11-10 09:11:47 UTC ---
even not if you spell it containsregexp with a p at the end?

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