Ziggy wrote:
When i deploy an application on Tomcat, i have to place the jdbc driver in
the $CATALINA_HOME/common/lib folder to be able to use the JNDI facilities.
This is fine but when i build the war file using ANT, it refuses to build
the war file unless i have the jdbc driver in the application's WEB-INF/lib
folder. I dont want to do this because i will then end up with two jar files
of the same. i.e. one in Tomcat's common lib and the other in WEB-INF/lib.

How can i build the war file without putting the library in WEB-INF/lib?
http://tinyurl.com/y8dtu7s
Look for definition of path element. You can specify many directories with jar files for use at compile stage.

--
Mikolaj Rydzewski <m...@ceti.pl>


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

Reply via email to