How unjar every jar referenced in javac.classpath to a folder?
<p>I have unjar ant task like below that was working until I changed classpath to include one more jar file. Wondering what the trick is to unjar every jar listed in javac.classpath. Basically it is breaking once javac.classpath has more than one jar file. I am Ant newbee. I am trying to figure out a way to enumerate every jar in javac.classpath and unjar it to build.classes.dir folder.</p>

<pre><code>    &lt;unjar dest="${build.classes.dir}"&gt;
        &lt;fileset file="${javac.classpath}" &gt;
        &lt;/fileset&gt;
    &lt;/unjar&gt;
</code></pre>