Hello I want to create an Zip file with the zip and fileset tasks. The problem I'm having is that it puts all files in the root directory.
<?xml version="1.0" encoding="utf-8" ?> <project basedir="." default="all" name="name"> <target name="dtCompass-dist"> <zip destfile="Demo.zip"> <fileset dir="..\..\..\program\bin"/ > <fileset dir="..\..\..\program2\bin"/> f <fileset dir="..\bin"/> <fileset dir="dir1" /> <fileset dir="dir2" /> <fileset dir="test" /> </zip> </target> <target name="all" depends="dtCompass-dist"/> </project> The files as said get's at the root of each of the filesets. I instead would want the each of the included directories be an own directory and under a other name. Something like this: ZipFile: <dir> program - Removed the \bin as well and replaced it with program name <dir> program2 - Removed the \bin and replaced with program2 name <dir> dir1 <dir> dir2 <dir> test Is there a target for the fileset I can use or another task? Lars --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]