I have a file list as given below which is used by an existing target.
I want to write a new target which zips all files from the directory files except files which is given in the filelist (properties).
<filelist id="excludesFiles" dir="${client.config.dir}" files="audit.properties,configuration.xml,portal.properties,services.xml,torque.properties,turbine.properties"/>
You should define your fileset as follows
The fileset now includes all files in the config dir except the ones given in the excludes list.