I'm using Ant 1.7.1 to tar up the contents of a directory, that contains a .git subdirectory. My current task is
<tar
destfile="sali-src-${version}.tgz"
basedir="${basedir}"
compression="gzip"
excludes=".git, .gitignore, *.ipr, *.iws, *.iml">
</tar>
But the resultant tarball contains the .git subdirectory. Could anybody point out how I could prevent it being included?