--- Chris Shabsin <[EMAIL PROTECTED]> wrote: > In versions of Ant prior to 1.6.2 it was possible to > use filters to > modify a token found in a file. For example: > > <filterset begintoken="/" endtoken="/"> > <filter token="etc" value="/local/etc/"/> > </filterset> > > In 1.6.2, the fixed bugs list includes the entry: > > * replacestring tokenfilter only replaced the > first occurrence.
This change relates not to filtersets, but to the tokenfilter filter reader. > > And, lo and behold, attempting to run this filter in > 1.6.2 now gives: > > [copy] Infinite loop in tokens. Currently known > tokens : [etc] According to CVS, this behavior should be evident in Ant >= 1.5.1 . > > Would it be possible to make the filtering continue > after the last > replacement, rather than start over at the beginning > of the line, to > make such a replacement possible again? It seems It may be that what you are looking for is an option to turn off recursive token expansion in filtersets. Does this sound correct? -Matt __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
