ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <>
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="${}"/>

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?


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

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

View raw message