ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46309] New: Ant patterns are ridiculously poor
Date Fri, 28 Nov 2008 16:12:36 GMT

           Summary: Ant patterns are ridiculously poor
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core

The only way to express a path in any "include" tag is to use the so-called
pattern expressions. While regexp() had been providing a complete and
consistant pattern grammar for decades, the Ant pattern system uses a
completely broken grammar :

 - only "*", "**" and "?" are allowed in the pattern grammar for variable

No way to express a character range or word list for example such as [a-z], or
{blah,foo}. No way to express a repetition number, etc. No way to express that
a particular character is to be repeated zero or N times (* or ? means ANY

The documentation proudly affirms that "you have a powerful way to select just
the files you want.". This is ridiculous, in my opinion correct only at *ant*'s
sight, 1 mm up the ground level.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message