ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47715] New: filterchain-based validation identifies line numbers
Date Thu, 20 Aug 2009 17:01:11 GMT

           Summary: filterchain-based validation identifies line numbers
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core

--- Comment #0 from David Hausladen <> 2009-08-20 10:01:09
PDT ---
When ant filterchains are used to validate files, the validation errors can not
supply line numbers.  Enhance PrefixLines filter to support such a capability
or add new PrefixLineNumbers filter.

I would suggest that the user be required to provide the padding size for the
line numbers or padding be ignored altogether (the benefit of padding is to
have all line numbers consume the same number of characters at the beginning of
the line).

**Specific use case**

Our build does RegEx-based validation of source files looking for forbidden
code constructs.  The RegEx is used to identify all source files containing the
forbidden code constructs, and for each identified source file, it generates an
error and shows the offending lines.  Unfortunately, we're unable to display
the line number for the offending lines.

**Related enhancements**

5748 seems related, but the thin details leave one wondering how the tokens
were expected to be used.

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

View raw message