ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin van Wieringen <>
Subject W2000 SP1 Delete of directory fails
Date Wed, 06 Feb 2002 08:21:22 GMT

When I have a build.xml file which creates the build directory, compiles 
the classes to the build directory then put the .class file on a jar file 
in the dist directory and at the end deletes the entire build directory. It 
works fine however if I envoke the build two times after each other then it 
W2000 seems to lock the build directory so that the second build result in 
failure when it tries to recreate the directory.

C:\_test\build.xm1:22: Directory C:\_test\build  creation was not succesful 
for an unknown reason
Total time: 0 seconds

When I try to delete the directory through the explorer I get an 
errormessage just selecting the dir:

C:\_test\build is not accessible.
Access is denied.

Now it takes some time before the build directory is released again. 
Basically it takes too long before it releases the directory to have 
useable build process. I do not access the build directory in any Explorer 
the only place that it was accessed is when ant put the compiled .class 
files in there and after moving delete the build dir. Perhaps ant is going 
to fast for w2000. Did anybody have this problem before?


Martin van Wieringen

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

View raw message