[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jetty-users] How (if possible at all) to control the way Jetty7 handles links in webapps folder.
|
Hi all!
I'm trying out new Jetty7 (7.2.0, to be exact), and encountered a problem.
I usually keep web application war files somewhere in /usr/local/mystuff
folder, and drop links into jetty's webapps folder.
Warfiles usually have some version identifier in name (like
cookie-eater-1.3-postgres.war), whereas links in webapps don's
(cookie-eater.war).
Now, when deploying application, Jetty 6 starts it with link's name
(i.e. I can access it via my-server/cookie-eater), whereas Jetty 7
playing smart and uses original file/folder name (hence, started
application will be accessible via my-server/cookie-eater-1.3-postgres).
This is rather annoying, since applications might be accessing each
other, and have configuration files specifying names without version
identifiers. Now I'll have to go and rename all the entries in files
every time app's name changes. Nothing there that sed and awk can't do,
but still...
So my question is whether this behavior (whether to use link's name or
original file name as deployment path) can be controlled somehow? I
haven't found any information on that so far.
Thanks in advance!
Alex-