title: Ant loadfile override property
body: <p>I'm trying to use the Ant task <code>&lt;loadfile&gt;</code> in a loop to parse the contents of a file. I have something like</p>
  
  <pre><code>&lt;loadfile srcFile="@{some.input}" property="my.property"&gt;
  </code></pre>
  
  <p>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 <code>&lt;var&gt;</code> task but I'm not sure how to use <code>&lt;loadfile&gt;</code> with it.</p>
  
  <p>Any recommendations?</p>
  
  <p>Thanks.</p>