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=23789>. 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=23789 warn if <delete task contains a fileset AND a dir attribute!! The content of dir is deleted before fileset's exclude is evaluated!!! Summary: warn if <delete task contains a fileset AND a dir attribute!! The content of dir is deleted before fileset's exclude is evaluated!!! Product: Ant Version: 1.6Beta Platform: Other URL: http://ant.apache.org/manual/CoreTasks/delete.html OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I had a simple delete task <delete dir="${build.dir}" includeEmptyDirs="true" /> and wanted to exclude something excludes="**/transform/**/*.* ${ASM_jar}" Doing that I got the DEPRECATED error and added <fileset dir="${build.dir}"> <exclude name="**/transform/*.class" /> <include name="**/*.*" /> </fileset> resulting in <delete dir="${build.dir}" includeEmptyDirs="true"> <fileset dir="${build.dir}"> <exclude name="**/transform/*.class" /> <include name="**/*.*" /> </fileset> </delete> BUILD FAILED file:build.xml:667: WEB-INF/classes not found. The exclude statement came too late and all its contents were already gone! Suggested resolution: if a nested fileset is present, warn about deleting what is specified in "dir" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]