DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21211>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21211 DELETE Task doesnt delete directorys with included fileset Summary: DELETE Task doesnt delete directorys with included fileset Product: Ant Version: 1.5.3 Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have a delete task with an included fileset which selects some directories. The files of the direcories are deleted, but not the directories by itself even when includeEmptyDirs is set. In the following a part of the buzildfile is given <target name="init"> <tstamp> <format property="log.dirtoday" pattern="yyyy.MM.dd"/> <format property="month" pattern="yyyyMM"/> </tstamp> <property name="archiv.name" value="log${month}.zip"/> <patternset id="log.filestoarchiv" includes = "log*\**\*" excludes="log${log.dirtoday}*\**\*"/> <mkdir dir="${archiv.dir}"/> </target> <target name="delete" depends="init"> <delete includeEmptyDirs="true"> <fileset dir="${log.maindir}"> <patternset refid="log.filestoarchiv"/> </fileset> </delete> </target> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]