If they are dependant on different versions of the same JAR, I suspect you'll run into problems no matter what you do. I guess you have it working somehow now, which is a bit surprising to me! If I understood you correctly, you may want to see if the different versions are really required, i.e., can you just take the latest JAR and have everything work with that?

Frank


From: Riyad Kalla <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Re: Semi-OT: Organizing WEB-INF/lib dir...
Date: Fri, 04 Jun 2004 07:12:37 -0700

Frank,
Great suggestion, I'll look into doing this as it is troublesome that hibernate and struts have the same deps (diff vers) on most of commons....


Frank Zammetti wrote:

I'm pretty sure the answer is no. I just took all the JARs for a test app I had installed and moved them from WEB-INF/lib to WEB-INF/lib/stuff, and the app no longer works. This is in Tomcat, so possibly it would work with another app server, but I tend to doubt it.

One suggestion that I can make, a habit I've gotten into, is name your JARs liberally, since their names don't matter. I usually name the JARs as descriptively as possible (for example, "jakarta-taglibs-standard-1.1.0.jar" might be one) and include their version, so it's fairly easy to tradk down what's what and at a glance tell what versions I'm running. Probably not the ideal answer, but maybe it'll clean up the mess just a little.

Frank


From: Riyad Kalla <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Semi-OT: Organizing WEB-INF/lib dir...
Date: Thu, 03 Jun 2004 20:58:36 -0700

Quick question for the people more versed in web apps than me, can you organized your libs in your WEB-INF/lib dir into separate sub dirs? I ask because my project is using Struts and Hibernate right now, and there is a such a mish-mash of JARs forming in my WEB-INF/lib dir, that its hard for me to upgrade the right jars when a new release comes out. I'd like to have something like:

WEB-INF/lib/struts
WEB-INF/lib/hibernate

or something to that extent. Can I do this?

TIA

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
MSN 9 Dial-up Internet Access fights spam and pop-ups – now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to