Magesh Umasankar
9cdb3c6908
1. Addition of new filter reader "LineContains"
2. Javadoc changes to use < and > instead of < and > characters
3. Removal of debug statement from ChainReaderHelper
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271526 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
79b4ed70c6
type is more appropriate than name in this case.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271525 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
d2f8fa7463
Filter Reader that strips out those lines that begin with a comment tag.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271524 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
03bfcc3c1b
Remove unused imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271523 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
e22b34c577
Use classpath of AntFilterReader if available.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271522 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
de1a987f23
Stefan's prediction coming true: AntFilterReader has its own classpath attribute and nested classpath element.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271521 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
5f07fcba57
Use a helper class to process chained readers.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271518 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ec9595bfac
FilterReaderSet aware task to load Ant properties.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271516 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
6a2b776bfc
A filter that attaches a prefix to every line of data read.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271515 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
9ec9a279f5
Add copyright header.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271418 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
7f243c7f6a
Converts Tabs to Spaces.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271417 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
70f91ac465
Oh! the horrors of cut-n-paste. Copyright should have been 2002.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271416 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
defe5f24dc
Answer the question: "So what are filterreadersets and filterreaders anyway?"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271415 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
5e16edc84e
Filter to read the last 'n' lines.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271394 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
f860a1bf81
Initialize whenever parameters (possibly) change.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271393 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
3ca907710e
1. Use a variable name that better represents the type of data stored.
2. Minor code cleanup.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271392 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
439fe1882b
Filter to read the first 'n' lines.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271391 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
2a299debca
Filter that replaces token strings with user supplied values. This is somewhat similar to <filterset> stuff.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271380 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ef148d08a2
When passed through filters, the resulting size of the filtered data may be
larger than the actual file size. Keep reading till -1 is returned.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271379 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
2eb375f62c
And thus the JavaReader phoenix rises from the ashes of JavaDoc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271378 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
df18fb1a5c
Operate at the read() method level instead of at the read(char[]) method level.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271377 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
8aa365e5d7
1. Change Parameterizable interface's setParameters method signature such that it takes in an array of type Parameter instead of Hashtable.
2. Introduce "type" as an attribute to nested param.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271376 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
7265fdb8a8
1. Class marked as final.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271375 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
e886871506
1. "final" modifiers introduced in relevant places.
2. BuildExceptions thrown only when failonerror is true.
3. A few variables renamed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271374 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
fe4e685019
Configurable -> Parameterizable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271372 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
15c4eb29a6
Bad example fixed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271371 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
8b00ce3f42
Initial version of FilterReaderSet implementation with <loadfile> as example.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271370 13f79535-47bb-0310-9956-ffa450edef68
24 years ago