ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbee <t...@tbee.org>
Subject Re: ANT translate fix
Date Fri, 21 Feb 2003 15:16:25 GMT
Here ya go.



On Fri, 21 Feb 2003 08:56:45 -0500, Magesh Umasankar wrote:
>The patch did not come thru' - Please zip it up and try resending.
>
>----- Original Message ----- From: "tbee" <tbee@tbee.org> To:
><dev@ant.apache.org> Sent: Friday, February 21, 2003 3:19 AM
>Subject: ANT translate fix
>
>
>Hey guys,
>
>I found a bug in the optional ANT translate task. It is not able to
>replace two tokens that are to close together. For example:
>
>@aaa;,@bbb;
>
>The problem is in the replace-token-with-value algorithm in the
>Translate.java file. The algorithm simply isn't pure (no offence to
>any developer intended), so I've rewritten it.
>
>Unfortunately, but understandable, I cannot check my new source in.
>So I've attached it to this email:
>
>- Test.java: demonstrates my algorithm - Translate.java: the
>modified source
>
>Please tell me if you'll include it, so I don't need to use a
>patched Translate.java. Or give me write premission on CVS on
>Translate.java.
>
>Thanks for a great tool!
>
>Tom
>
>
>
>
>
>
>
>---------------------------------------------------------------------
>------- ----
>
>
>>
>>--------------------------------------------------------------------
>>- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For
>>additional commands, e-mail: dev-help@ant.apache.org
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For
>additional commands, e-mail: dev-help@ant.apache.org



Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message