I run the zip zip task for zip for the entire contents of the directory on Unix systems:
<zip destfile="${deploy}/test.zip">
<zipfileset dir="/home/mydir" />
</zip>
After creating the zip and checking the contents, I see that some configuration files, specific Visual Studio files and others, such as the Mac OS.DS_STORE file, do not contain zip.
Is there any Ant rule to decide which files will not be included?
I need to know in advance, since I need to create a list of existing files in this directory before running (currently using Java). Right now, I am excluding all directories and hidden files (using the File.isHidden () and isDirectory () methods), but the list still gets part of the Ant lefts out file (e.g. vssver.scc
source
share