ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Euan Guttridge <EGuttri...@buildonline.com>
Subject recursively delete directories
Date Mon, 18 Nov 2002 18:41:12 GMT
Hi,

I cannot figure out the syntax to recursively delete all directories and
their contents called "CVS" in a tree. My task is below, this only deletes
the contents, not the actual directories.


<!-- Delete CVS CheckOut files -->
<target name="delete_CVS_co_files">
	<delete includeEmptyDirs="true">
		<fileset dir="${cvs_output_dir}"
			includes ="**/CVS/*"
			defaultexcludes="no"
		/>
	</delete>
</target>


Thanks for any pointers..

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message