Re: Ant task to replace special characters

2006-03-28 Thread Ivan \"Rambius\" Ivanov
Hello, There is task in ant-contrib that takes a "string" (or a value of a property) as input and (re)set a property with the new value. I personally do not use it. Instead, I use the following trick (the reg exp in it is untested): ${foo.bar} Regards Ivan --- Thod Nguyen <[EMAIL PRO

Re: Ant task to replace special characters

2006-03-28 Thread Jeffrey E Care
Pyxis Lead Release Engineer Thod Nguyen <[EMAIL PROTECTED]> 03/28/2006 04:17 PM Please respond to "Ant Users List" To Ant Users List cc Subject Re: Ant task to replace special characters Thanks Ivan. it seems that both or requires a file as an inpu

Re: Ant task to replace special characters

2006-03-28 Thread Thod Nguyen
Thanks Ivan. it seems that both or requires a file as an input. In my case, i just want to format the string with some replaceable token(s). --- "Ivan \"Rambius\" Ivanov" <[EMAIL PROTECTED]> wrote: > Hello, > > Perhaps you need or tasks. > > Regards > Ivan > > --- Thod Nguyen <[EMAI

Re: Ant task to replace special characters

2006-03-28 Thread Ivan \"Rambius\" Ivanov
Hello, Perhaps you need or tasks. Regards Ivan --- Thod Nguyen <[EMAIL PROTECTED]> wrote: > is there a simple way in build.xml to replace for > instance, a filename foo.bar(1).memory with > foo.bar_1.memory using one of the existing Ant task > ? > > Thanks > T.N. > > ___

Ant task to replace special characters

2006-03-28 Thread Thod Nguyen
is there a simple way in build.xml to replace for instance, a filename foo.bar(1).memory with foo.bar_1.memory using one of the existing Ant task ? Thanks T.N. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http:/