You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/11/05 02:23:36 UTC

DO NOT REPLY [Bug 4634] - empty begintoken and endtoken in copy task filterset will hang Ant

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4634>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4634

empty begintoken and endtoken in copy task filterset will hang Ant





------- Additional Comments From peterwlynch@yahoo.com  2001-11-04 17:23 -------
So far I have determined that the replaceTokens method of the FilterSet type 
has a bug relating to the way it handles indexOf looking for a token marker.

If the token is an empty string, then that will return zero from indexOf. The 
same as if the begintoken marker was at the beginning of a line of text. 
Checking for index > -1 alone therefore will not suffice. :-(

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>