I want to set the value of a replace filter with the contents saved in text file, please help
Asked
Active
Viewed 467 times
-2
-
Possible duplicate of [How to read data line by line from a file using ant script?](http://stackoverflow.com/questions/5455309/how-to-read-data-line-by-line-from-a-file-using-ant-script) – Szer Aug 23 '16 at 10:48
-
Its not duplicate . I need to replace a token value with file content rather than simple reading a file. – Sebulu Babu Aug 23 '16 at 11:11
-
provide what you have done so we can assist (ant sample) – Sami Aug 23 '16 at 13:36
1 Answers
0
The ant property task can be used to read a properties file
For example
<property file="foo.properties"/>

Mark O'Connor
- 76,015
- 10
- 139
- 185