Hallo,
I am implementing an automated build tool and I am using NAnt -
NAntContrib(0.85), NUnit(2.4.7), CruiseControl.Net(1.3.0) and Subversion system
(1.4.6).
I am encountering a big problem with the <delete> task of NAnt, while I am
trying to delete a folder stored in my build server, in order to "clean" the
dir and checkout next time.
I keep receiving errors like:
Cannot delete directory "C:\A\B". The process cannot access the file "C:\A\B"
because it is being used by another process
either
Cannot delete directory "C:\A\B". The directory is not empty.
The error(s) appears in random directories, but most of the times is focusing
to a specific directory.
I found a solution at net - http://www.blog.latrompa.com/?p=66 - but it didn't
work either.
I have to mention that:
* as far as I know, no other process accesses the specific error-fir.
* No window is open reffering to the error-dir.
* If I right-click on the files, I can easily delete them without any
window-warning of "cannot-delete" or anything alike.
The error's behavior is random.
I have already tried to delete:
- before the new checkout
- after the checkout, so to be prepared for the next checkout
- both ways, before and after the current checkout
Is there any other way to get rid of the directory?
Thank you
--Maria
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer