https://issues.apache.org/bugzilla/show_bug.cgi?id=47715
Summary: filterchain-based validation identifies line numbers
Product: Ant
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Core
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from David Hausladen <[email protected]> 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.