ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4634] - empty begintoken and endtoken in copy task filterset will hang Ant
Date Mon, 05 Nov 2001 01:23:36 GMT
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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message