![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| Newbie | 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 Specs![]() |
| | #2 (permalink) |
| Guest | 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 Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Creating a list of files that have been deleted from or added to a directory | PowerShell | |||
| How do I restore a deleted email directory | Vista mail | |||
| Setting up a directory and moving a file into that directory from | Vista General | |||
| Setting up a directory and moving a file into that directory from | Vista General | |||
| Temp Directory acts like media directory | Vista General | |||