View Single Post
Old 05-21-2008   #1 (permalink)
quaidbrown


Vista Home Premium 64 bit
 
 

Is it possible to specify that a directory can be deleted even if in use?

I'm trying to do web application development on my Vista machine. My web server has a deploy directory, into which I deploy a folder with my code. I use a build service called ANT to compile my code, delete the old folder, and move the new folder in.

Meanwhile, my Application server is monitoring the deploy directory, and does a hot redeployment when it sees the code change.

This works great on my Linux box... but Vista seems to think that the Application server is using the folder, and that nobody else should be able to delete it. ANT fails when I try to redeploy the code while the server is running. I can shut down the app server, deploy the code, restart, and it works fine.

Is there any way to specify that Windows should allow other processes to modify a directory? Permissions? A service I can turn off? I don't care how it happens exactly

I appreciate any help!
My System SpecsSystem Spec