How to Get a List of Files in ZIP via Apache Ant Task?
<p>I need to get a list of file names in a ZIP file using Apache Ant task without unzipping it first. It also should be OS independent, e.g.: if My.zip contains:</p>

<pre><code>dir1/path/to/file1.html
dir1/path/to/file2.jpg
dir1/another/path/file3.txt
dir2/some/path/to/file4.png
dir2/file5.doc
</code></pre>

<p>The Ant task should return the list above with the relative path + filename.</p>