Hi all,

I'm working on a web application in which users are able to upload
files to server. The files are stored outside the tomcat webapps
directory, but to be able to acces them via the web-application, I
created a symbolic link into my application's root directory, which
points to the folder where the files are actually stored.

The problem is, that everytime I upload my new .war file (which is
then deployed), de undeploy/deploy-process removes all the original
files/folders of the application, including the symbolic link, AND the
files in the actual file-folder (so not only the symbolic link is
removed, it is treaten as a real folder, which is deleted then)

As this is unwanted behaviour, I'm looking for a way to 'tell' the
deployment-process not to delete the symbolic link, or to safely
delete it (just the link, not the folder), and create it again after
the deployment has finished.

I've been looking for a solution, but didn't found one. I think this
problem might be solved with an appropriate ant-task, but I can't
figure out which, en where to place it.

I'm using Tomcat server version 6.0.18
Operating system is Suse Linux Enterprise v 10

Thanks in advance for helping me out!

Grtz

Ward

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to