ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject Re: pattern replacement in a property value!!!
Date Sat, 13 Dec 2003 15:53:22 GMT
Nagarajan Murugesan wrote:

>Hi All,
>
>I have a question on ANT properties.
>
>Is there any task/way in which we can replace a particular
>pattern (string) in a property value.
>
>For Example:
>
>I defined  a property name ="mail" value="*sender*@yahoo.com"
>
>during the run time I want to replace the pattern *sender*
>with some name.
>
>is it possible in ant? I need your help in that.
>
>Thanks,
>Nagarajan M
>
>  
>
Hi Nagarajan,

this question has become a FAQ :

http://ant.apache.org/faq.html#propertyvalue-as-name-for-property

Cheers,

Antoine


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


Mime
View raw message