You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/06/13 22:17:27 UTC
[Bug 2161] New: - Delete task doesn't do quiet properly
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2161
*** shadow/2161 Wed Jun 13 13:17:27 2001
--- shadow/2161.tmp.16723 Wed Jun 13 13:17:27 2001
***************
*** 0 ****
--- 1,28 ----
+ +============================================================================+
+ | Delete task doesn't do quiet properly |
+ +----------------------------------------------------------------------------+
+ | Bug #: 2161 Product: Ant |
+ | Status: NEW Version: 1.3 |
+ | Resolution: Platform: PC |
+ | Severity: Normal OS/Version: Windows NT/2K |
+ | Priority: Other Component: Core tasks |
+ +----------------------------------------------------------------------------+
+ | Assigned To: ant-dev@jakarta.apache.org |
+ | Reported By: brumple@valubond.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ Example
+
+ <delete quiet="true">
+ <fileset dir="${directory.compiled.jsps}">
+ <include name="**/*.java"/>
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
+
+ This will fail if the directory ${directory.compiled.jsps} doesn't exist. This
+ isn't quiet operation like what rm -f does. The reason it fails is because the
+ fileset throws an exception when it finds the directory doesn't exist.
\ No newline at end of file