The patch did not come thru' - Please zip it up
and try resending.

----- Original Message -----
From: "tbee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to