Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows Vista / File Management / May 2008

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
quaidbrown - 22 May 2008 03:42 GMT
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!

Signature

quaidbrown

Justin Martin [MSFT] - 27 May 2008 06:46 GMT
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

> 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
[quoted text clipped - 15 lines]
>
> I appreciate any help!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.