title: Trying to get the filenames of all files in a directory with ANT
body: <p>For example</p>
  
  <pre><code>/test/a.jar
  /test/b.jar
  /test/c.jar
  
  output:
  a.jar
  b.jar
  c.jar
  </code></pre>
  
  <p>This works for the most part, except it only seems to be getting one of the files, not all =/        </p>
  
  <pre><code>       &lt;for param="file"&gt;
              &lt;path&gt;
                  &lt;fileset dir="${test.dir}/lib"&gt;
                      &lt;include name="**/*.jar"/&gt;
                  &lt;/fileset&gt;
              &lt;/path&gt;
              &lt;sequential&gt;
                  &lt;basename property="filename" file="@{file}"/&gt;
                  &lt;echo message="${filename}"/&gt;
              &lt;/sequential&gt;
          &lt;/for&gt;
  </code></pre>
  
  <p>This just gets me:</p>
  
  <pre><code>c.jar
  c.jar
  c.jar
  </code></pre>