Hi, I want to zip and then delete the selected files from the src folder.I am using following 2 targets.
<target name="delete" depends="zip"> <delete verbose="true"> <fileset dir="${src}" includes="*.class"> <and> <depth max="1"/> <date datetime="${start.time}" when="before"/> </and> </fileset> </delete> </target> <target name="zip"> <zip destdir="${dest}" duplicate="preserve"> <zipfileset dir="${src}" prefix="${prefix}"> <and> <depth max="1"/> <date datetime="${start.time}" when="before"/> </and> </zipfileset> </zip> </target> Delete is working fine but zip target is not.The zipped folder doesnt contain the file which is in the sub-directory of the {src}. What's wrong in my zip target? Thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com