ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siamack Farshi <>
Subject A simple question
Date Wed, 15 May 2002 15:23:31 GMT

Hello everyone:
 This may seem like a simple question, but I appreciate if someone
can give me a hint;

I have a directory structure:


I would like to delete everyting and only leave the following
directory structure


I used the following:

	<target name="cleanwardir" depends="init,prepare">
			<fileset dir="${wardir}">
				<include name="*"/>
				<exclude name="WEB-INF/lib"/>

however, this only removes all the files, including
those in subdirectories and leaves the subdirectories

I do not want to list the directory names as each time
they will have a different name. I only need to keep:


thanks for your replies,

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message