You can't split the lib in web-inf, but you can hold the libs in separate folders in your project and have ant to copy it into web-inf. So if you update to a newer version, just update the project and ask ant to build (deploy) :-) Something like this:
<!-- copy libraries from /lib to web-inf/lib --> <copy todir="${webapp}/WEB-INF/lib"> <fileset dir="${hibernate.lib}"/> <fileset dir="${struts.lib} "/> </copy> Regards Leon > -----Ursprüngliche Nachricht----- > Von: Dan Tran [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 4. Juni 2004 07:53 > An: Struts Users Mailing List > Betreff: Re: Semi-OT: Organizing WEB-INF/lib dir... > > Dont think jsp/servlet specs allows splitting of the lib > dir. You may want to take a look at maven.apache.org > or use the way Maven names it dependencies jar files > > good luck. > > -Dan > > ----- Original Message ----- > From: "Joe Hertz" <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > Sent: Thursday, June 03, 2004 10:29 PM > Subject: RE: Semi-OT: Organizing WEB-INF/lib dir... > > > > What IDE are you using? Can't it help you with this? > > > > JBuilder certainly spares me this hassle (okay, that's not all good. > > I've had some *other* hassles* because of it, but they are certainly > > worth it). > > > > > -----Original Message----- > > > From: Riyad Kalla [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, June 03, 2004 11:59 PM > > > To: Struts Users Mailing List > > > Subject: Semi-OT: Organizing WEB-INF/lib dir... > > > > > > > > > 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] > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]