This is a great question. I've been thinking about the same issues. I've been working on several projects here and I've migrated from Tomcat to IIS/ServletExec to Orion. At one point, I put most of my jar files in WEB-INF/lib which were "found" by IIS but not by Orion.
Then I started working with another developer on one of the projects and we needed to share the same environment. So we put the jar files out on a network directory. He uses Ant to build, I use a bat script which sets the CLASSPATH at the beginning. Currently we're using Sun's servlet.jar. Any better suggestions would be appreciated! >From: Adam Hardy <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: CLASSPATH, env, lib, jars and all that >Date: 12 Feb 2002 08:14:36 -0800 > >Hi All, > >I'm setting up struts to use at home and at work on projects which I take >back & forth, and I want to rationalise the way I set up my progs, java >environment, tomcat and all. > >One thing complicating it all, which I'm afraid will trip me up when I >start using newer versions in the future, is all the jar files, often >multiple copies of which are held by the different java installations, e.g. >xalan.jar or its classes is in tomcat, j2ee, ant. Or jdbc2.0-stdext.jar. >Even just now when installing Wintec Inc. Struts Validator, it comes with >all its own copies. > >Most of this stuff is in J2EE, but somehow I doubt anyone would advise me >to put that in my CLASSPATH, would they? > >So how does Joe Struts organise his/her environment? Do you set up a >profile which allows you to run ant & tomcat and rigorously delete >unnecessary jars? > >Or do you just tweak every build.xml you have? Or do you chuck everything >in tomcat-4.0.1/common/lib? > >Thanks for the insight :-) > >Adam > > >Find the best deals on the web at AltaVista Shopping! >http://www.shopping.altavista.com > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

