I have an ant target for creating a zip like this -
<zip destfile="${dist}/myzip.zip"> <zipfileset dir="docs/manual" prefix="docs/userguide"/> </zip>
Basically, the myzip.zip archive is myzip.zip with all files and directories under docs/manual with the docs / userguide prefix in the archive.
But I do not want to include all the directories in docs/manual for copying to the archive, I have a directory under old under docs/manual , which I want to exclude ... How to do this?
java ant zip
Johnbabu koppolu
source share