Under tomcat , jetty ,weblogic ,...etc
You put your jar files in the lib directory under WEB-INF .
But I am wondering if I create a folder under lib and add jar files to it will it process those jar files to as if they in the top lib folder.
I am trying to seperate the jar files out so I know which ones to update more easily but when I create a subdirectory under lib and start the server I get.
As you can see the classes/jar's need to be exactly in the lib folder not under it!
What I want to know is how to seperate the birt jar files from the other jar files I have?
Sam Doder wrote:I am trying to seperate the jar files out so I know which ones to update more easily...
Well, as you already know (by experiment) is that you have to put all your jar files in the WEB-INF/lib directory. I'm not sure what you mean by "update more easily" but couldn't you just write the names of those jar files on a piece of paper and tack it to your bulletin board?
posted 11 years ago
Yes , But it is not easy to constantly write down every jar need to go their when people are constantly modifying and updating their jar files.
I am working at a company that finds it really hard to keep track of what version of a jar file it needs. Some times the applications won't run correctly with out the correct jar file version.
Yet other applications won't run with older version of jar files.
I just want an easy way to keep track of what the minimal jar files you need.
What I thought is a sub folder under the WEB-INF/lib file would load the same as just being in the WEB-INF/lib top level folder. That way I could seperate out the different jar files into sub-folders to keep track of the versions ,...etc etc
My be it works for only some web application servers. Wondering if their is any other folders I could create under WEB-INF/ to work the same as lib folder.
Do you use source control (if you don't you should!)? For the projects I manage, I check in the entire build environment, including the third-party dependencies in the WEB-INF/lib directory. That way, when one updates their sandbox or the production server, they've got the correct version of the code and all the dependencies.