u should save all your file in a folder outside webapps using a context tag in server.xml. so when u deploy nobody will touch your saved files.
---------- Initial Header ----------- >From : "Thomas Corte" [EMAIL PROTECTED] To : "Tomcat Users List" [email protected] Cc : Date : Wed, 28 Sep 2005 14:56:55 +0200 Subject : Re: saving files in webapp folder from deletion? > Hello, > > Anto Paul wrote: > > > Read this thread lately. May be antiResourceLocking is what you are > > lokking for. > > I'm afraid not, since it is only useful to prevent files from being > locked (to make sure they can be deleted on undeploy). > Actually, I'm somewhat looking for the exact opposite, namely a way to > *prevent* files in the web app folder from being deleted :-) > > Since I don't like multi-context solutions, I'll probably have to go for > my initial idea of "backup on undeploy" and "restore on deploy". > > -- > Thomas Corte > [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
