File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Package symlinks in a WAR file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Package symlinks in a WAR file?" Watch "Package symlinks in a WAR file?" New topic

Package symlinks in a WAR file?

Philippe Desrosiers
Ranch Hand

Joined: Mar 29, 2006
Posts: 138
Okay, so don't ask why (rolls eyes), but I need to deploy a WAR file, and have a symlink set up automatically in the webapps/myapplication directory under tomcat.

Right now, I can auto-deploy the WAR file, and if I create the symlink manually, everything works fine. But is there a way to create a symlink on my development machine, and have it installed into my app directory under tomcat when it explodes the WAR?
I agree. Here's the link:
subject: Package symlinks in a WAR file?
It's not a secret anymore!