Code: Select all
<fileset dir="//servername/development/projects" recursive="true">
<exclude pattern=".git" />
As I fallback, I can copy the directory to a workspace, delete the .git folder, and then zip up what's left, though I was hoping to perform this within the fileset as the include/exclude features seem to imply that something like this should be possible. Note that the other file/folder names are dynamic so I can't just set a series of INCLUDEs for every other file/directory.