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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:
     [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to