How to exclude archive name from file hierarchy after ant unzip task? example in folder c:\temp should be extracted all files from archive, but after call ant unzip for archive t.zip I have result c:\temp\t\file.tmp
A:
Use a mapper specify how the files should look in the destination directory:
<unzip src="t.zip" dest="temp">
<globmapper from="t/*" to="*"/>
</unzip>
Mark O'Connor
2010-07-03 20:53:39