Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 47026 invoked from network); 4 Jan 2007 20:30:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jan 2007 20:30:12 -0000 Received: (qmail 86799 invoked by uid 500); 4 Jan 2007 20:30:17 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 86767 invoked by uid 500); 4 Jan 2007 20:30:17 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 86756 invoked by uid 99); 4 Jan 2007 20:30:17 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jan 2007 12:30:17 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jan 2007 12:30:10 -0800 Received: by brutus.apache.org (Postfix, from userid 33) id 45FDC714310; Thu, 4 Jan 2007 12:29:50 -0800 (PST) From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 41291] New: - Recursive FilterSet fails when a token in recursed value appears more than once Message-ID: X-Bugzilla-Reason: AssignedTo Date: Thu, 4 Jan 2007 12:29:50 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41291 Summary: Recursive FilterSet fails when a token in recursed value appears more than once Product: Ant Version: 1.7.0 Platform: PC OS/Version: other Status: NEW Severity: major Priority: P3 Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: gmarkh1@co.pierce.wa.us If a filterset's token value contains another token in the filterset more than once then the replaceTokens(String line, String parent) method will incorrectly fail printing the "Infinite loop in tokens." message. The reason for this is that once returning from the iReplaceTokens method the current (parent) token should be removed from the passedTokens Vector. The passedTokens vector should be used like a stack always popping the current token as you leave the method. A work around that currently works is to define multiple discrete filtersets splitting the token that appears multiple times into its own filterset. This bypasses the problems since each filterset is run iteratively over the results of the previous filterset. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org