title: What's the difference between a nested path and fileset?
body: <p>I have been googling for the "Differences between fileset and path" article for some time, but have found nothing useful.
  For example, what is the difference between the following (say, there is a <strong>someDir</strong> directory, which contains .jar files and has no subdirectories):</p>
  
  <pre><code>&lt;path id="somePathId"&gt;
      &lt;pathelement path="someDir"/&gt;
  &lt;/path&gt;
  
  &lt;path id="someId"&gt;
    &lt;path refid="somePathId" /&gt;
  &lt;/path&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;path id="someId"&gt;
    &lt;fileset dir="someDir"&gt;
       &lt;include name="*.*"&gt;
    &lt;/fileset&gt;
  &lt;/path&gt;
  </code></pre>
  
  <p>?</p>