On Thu, 4 Nov 2004, Keith Robertson <[EMAIL PROTECTED]> wrote: > Is it possible to use the replace task to scan > sourcecode for tokens and then replace them with the > line number of that token in its respective file?
No. > Does anyone have any thoughts on how I might do this? You could write a filterreader[1] that keeps track of the line number and does the replace. And then use a copy task together with that filterreader. Stefan Footnotes: [1] http://ant.apache.org/manual/CoreTypes/filterchain.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]