Ant loadfile override property
- by lucks
Hi,
I'm trying to use the Ant task <loadfile> in a loop to parse the contents of a file. I have something like
<loadfile srcFile="@{some.input}" property="my.property">
Since Ant properties are immutable, this doesn't work for me. I need 'my.property' to update on every iteration. Is there a way to achieve this? I know Ant-contrib has a <var> task but I'm not sure how to use <loadfile> with it.
Any recommendations?
Thanks.