You need to add the attribute "includeemptydirs" to the
delete task:
Peter
Myriam Delperier wrote:
>hello I've got problems to delete some dirs with ant.
>I've got a root directory :
>${dossier.installation.up}/production
>
>in which i want to delete all the 'prod' and 'upcat' subdirectories
>
>I tried this :
>
>
>
>
>
>
>
>
>
>
>
>
>
>but it only deletes the contents of those...
>
>and i tried this :
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>but it doesn't work
>
>
>
>does anybody have an idea of how i can do this?
>
>thanks for your help
>
>
>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org