[mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 26, 2005 5:02 PM
To: Ant Users List
Subject: Re: putting value in txtfile
--- Erik Hatcher <[EMAIL PROTECTED]> wrote:
> Um nevermind. I missed the part that there is "just a blank
> line". A custom FilterRe
--- Erik Hatcher <[EMAIL PROTECTED]> wrote:
> Um nevermind. I missed the part that there
> is "just a blank
> line". A custom FilterReader would work - have it
> only affect the 4th
> line.
>
> Erik
All you have to match is the line break count, so
assuming you know what those a
Um nevermind. I missed the part that there is "just a blank
line". A custom FilterReader would work - have it only affect the 4th
line.
Erik
On Jan 26, 2005, at 8:55 AM, Erik Hatcher wrote:
task or the replaceregex filter reader on a
would do the trick, I think.
Erik
You might want to read up on the task along with the
nested elements.
One route...
Write your property out to a temp file
Use the along with sub-element to concat the first 3
lines of the orginal file with the temp file (stored in another file).
Then use another (with sub-element) to take
task or the replaceregex filter reader on a
would do the trick, I think.
Erik
On Jan 26, 2005, at 8:31 AM, Rebhan, Gilbert wrote:
Hi,
yet another txtfileprocessing question.
File looks like that :
01 bla
02 bla
03 bla
04
05
06
07 bla
08 bla
09 bla
How to put the value of a property on l