How do i get apache ant to delete a directory no matter what, even if there are locks or usages of the directory on windows.
I am using a continuous integration remote agent on a windows box which fails to delete the build directory and as a result fails the builds which is extremely annoying and is disruptive to the statistics.
There is nothing actively using the directory, and the antivirus is disabled.
I just want to delete the directory no matter what. How can i achieve that on windows with apache ant?