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 30566] New: - Filter doesn't handle same token twice on one line
Date Tue, 10 Aug 2004 17:55:16 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30566>.
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=30566

Filter doesn't handle same token twice on one line

           Summary: Filter doesn't handle same token twice on one line
           Product: Ant
           Version: 1.6.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: lance@nuserve.com


New from 1.5.4 to 1.6.1, i.e. worked in 1.5.4, broken in 1.6.1.

This rule in a filterset:
     <filter token="SUPPORT_EMAIL" value="${support_email}"/>
when faced with this input line:
     @SUPPORT_EMAIL@ foo bar @SUPPORT_EMAIL@
gives the output:
     support@blah.tom foo bar SUPPORT_EMAIL
and the error:
     [copy] Problem token : @SUPPORT_EMAIL@ called from @SUPPORT_EMAIL@
     [copy] Infinite loop in tokens. Currently known tokens : [SUPPORT_EMAIL]

Breaking the line into two cures the bug.  

lance 'searching for a sign' nuserve.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message