ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Wilson" <netp...@gmail.com>
Subject Can I replace some text in a fileset - using values from properties?
Date Wed, 07 Nov 2007 21:01:18 GMT
Say I have a file with a few files, and would like to inject some
values via ant properties, i.e. company.txt contains

"Thank you for trying the product from ${companyName}."

Is there an Ant task that given a property entry of

<property name="company.txt" value="woof.com"/>

Will result in company.txt containing

"Thank you for trying the product from woof.com"

Thanks,
Rob.

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


Mime
View raw message