ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2161] New: - Delete task doesn't do quiet properly
Date Wed, 13 Jun 2001 20:17:27 GMT
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

Mime
View raw message