From: Otis G. <oti...@ya...> - 2004-03-31 19:49:42
|
Hello, Goal: Instead of including Jars and resource/config files inside a WAR, tell Jetty where to load them from. Problem: I tried adding all my Jars and resource/config dirs to CLASSPATH before calling java -jar start.jar I tried using the full CLASSPATH with all my jars/etc. in it on the command line with '-cp': java -cp $CLASSPATH -jar start.jar Neither approach worked. I get a feeling I could monkey something out if I modified some config file inside start.jar. However, is there an easier, more external approach, that will let me specify things on the command line or in some external config file, or something like that? Thanks, Otis P.S. I'd like to keep my own Jars separate from Jetty's, so I'd like to stay away from Jetty's lib/ dir. |