Build fails with 'Unable to delete directory'

2006-12-01 Thread eagerbeaver
I have a nightly build that sometimes fails when an auto-generated build script attempts to delete a directory. I am not sure why this happens. But I would normally set 'failonerror' to 'false' to prevent the build from falling over in such a case. However, how do I overcome this problem when the

Re: Unable to delete directory

2003-07-11 Thread Michael . Giroux
Thanks for looking into this. > +/** > + * Attempt to fix possible race condition when deleting > + * files on WinXP. If the delete does not work, > + * wait a little and try again. > + */ > +private boolean delete(File f) { > +if (! f.delete()) { > +tr