title: Ant check existence for a set of files
body: <p>In ant, how can i check if a set of files (comma-separated list of paths) exist or not?</p>
  
  <p>For example I need to check if all paths listed in <code>myprop</code> exist and if so i want to set a property <code>pathExist</code>:</p>
  
  <pre><code>&lt;property name="myprop" value="path1,path2,path3"/&gt;
  </code></pre>
  
  <p>So in the example all of <code>path1</code> <code>path2</code> <code>path3</code> must exist to set <code>pathExist</code> to <code>true</code>, otherwise <code>false</code>.</p>
  
  <p>I discovered that for a single resource I can use the <code>resourceexist</code> task, but i can't figure out how to use that with a comma-separated list of paths.</p>
  
  <p>How can I check the existence for a set of paths? Thanks!</p>