View Single Post
Old 05-27-2008   #2 (permalink)
Justin Martin [MSFT]


 
 

RE: Is it possible to specify that a directory can be deleted even if

You'll probably want to pose this question to the web app that is holding a
lock on the file. I would suppose you could work around the issue by
stopping the web server service and then restarting it. This is intentional
to protect applications that rely on files on the system and are in the
process of using them.

Justin Martin
Windows Experience - Find & Organize

"quaidbrown" wrote:
Quote:

>
> 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!
>
>
> --
> quaidbrown
>
My System SpecsSystem Spec