ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <rambiusparkisan...@yahoo.com>
Subject Deleting only the contents of a directory
Date Mon, 21 Jun 2004 15:50:41 GMT
Dear Colleagues,

I want to delete the contents of a directory without
the very directory. I tried some variants but wth no
luck like this

<delete failonerror="false" includeemptydirs="true">		
   <fileset dir="${project.bin}">
       <include name="**"/>
       <exclude name="${project.bin.name}"/>
   </fileset>
</delete>

I want to delete all files and dirs in ${project.bin}
without ${project.bin}$. I suppose it is something
easy but I still do not see it. Any hints?

Ivan

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message