title: How do you load a file into a variable in ant using the 'loadfile' task?
body: <p>I'm trying the following and it doesn't seem to work.</p>
  
  <pre><code>&lt;property name="file.configs.txt" value="" /&gt;
  ...
  &lt;target name="..."&gt;
     &lt;loadfile property="file.configs.txt" srcFile="remoteConfig/configs.txt" /&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>I read <a href="http://ant.apache.org/manual/Tasks/loadfile.html" rel="noreferrer">here</a> that the &lt;loadfile&gt; task is supposed to load the contents of a file into the specified property.</p>