You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by br...@tcs.com on 2004/06/04 08:04:10 UTC

Sorry : Semi-OT: Organizing WEB-INF/lib dir...

I think I am wrong. my experiment went a little wrong. soory about that. I 
think lib cannot be subdivided.

Brati Sankar Ghosh
Tata Consultancy Services
Mailto: brati.sankarghosh@tcs.com
Website: http://www.tcs.com



"Dan Tran" <da...@hotmail.com> 
06/04/2004 11:23 AM

Please respond to
"Struts Users Mailing List" <us...@struts.apache.org>


To
"Struts Users Mailing List" <us...@struts.apache.org>
cc

Subject
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" <jh...@speakeasy.net>
To: "'Struts Users Mailing List'" <us...@struts.apache.org>
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:rsk@email.arizona.edu] 
> > 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: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> > 
> > 
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


ForwardSourceID:NT0000AB2E 

Re: Sorry : Semi-OT: Organizing WEB-INF/lib dir...

Posted by Riyad Kalla <rs...@email.arizona.edu>.
This is also a very good suggestion, thanks Mark!

Mark Lowe wrote:

> I think you perhaps what to organise you jars in a central place like
>
> ~/Projects/lib/struts-1.1
> ~/Projects/lib/hibernate-2.1
>
> ~/Projects/myapp/src
>
> and such like
>
> and then use ant to copy the dependencies into
>
> ~/Projects/myapp/build/WEB-INF/lib
>
> at build time with an ant task.
>
> This will give you the clarity of centralising your jars while not  
> comprimising anything with the container spec.
>
> Mark
>
> On 4 Jun 2004, at 08:04, brati.sankarghosh@tcs.com wrote:
>
>>
>> I think I am wrong. my experiment went a little wrong. soory about  
>> that. I think lib cannot be subdivided.
>>
>>  Brati Sankar Ghosh
>>  Tata Consultancy Services
>>  Mailto: brati.sankarghosh@tcs.com
>>  Website: http://www.tcs.com
>>
>>
>>
>>
>> "Dan Tran" <da...@hotmail.com>
>>
>> 06/04/2004 11:23 AM
>>
>>
>> Please respond to
>>  "Struts Users Mailing List" <us...@struts.apache.org>
>>
>>
>>
>> To
>> "Struts Users Mailing List" <us...@struts.apache.org>
>>
>> cc
>>
>> Subject
>> 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" <jh...@speakeasy.net>
>>  To: "'Struts Users Mailing List'" <us...@struts.apache.org>
>>  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:rsk@email.arizona.edu]
>>  > > 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: user-unsubscribe@struts.apache.org
>>  > > For additional commands, e-mail: user-help@struts.apache.org
>>  > >
>>  > >
>>  > >
>>  >
>>  >
>>  >
>>  >  
>> ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>  > For additional commands, e-mail: user-help@struts.apache.org
>>  >
>>  >
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>  For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>> ForwardSourceID:NT0000AB2E    
>> <InterScan_Disclaimer.txt>--------------------------------------------- 
>> ------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Sorry : Semi-OT: Organizing WEB-INF/lib dir...

Posted by Mark Lowe <ma...@boxstuff.com>.
I think you perhaps what to organise you jars in a central place like

~/Projects/lib/struts-1.1
~/Projects/lib/hibernate-2.1

~/Projects/myapp/src

and such like

and then use ant to copy the dependencies into

~/Projects/myapp/build/WEB-INF/lib

at build time with an ant task.

This will give you the clarity of centralising your jars while not  
comprimising anything with the container spec.

Mark

On 4 Jun 2004, at 08:04, brati.sankarghosh@tcs.com wrote:

>
> I think I am wrong. my experiment went a little wrong. soory about  
> that. I think lib cannot be subdivided.
>
>  Brati Sankar Ghosh
>  Tata Consultancy Services
>  Mailto: brati.sankarghosh@tcs.com
>  Website: http://www.tcs.com
>
>
>
>
> "Dan Tran" <da...@hotmail.com>
>
> 06/04/2004 11:23 AM
>
>
> Please respond to
>  "Struts Users Mailing List" <us...@struts.apache.org>
>
>
>
> To
> "Struts Users Mailing List" <us...@struts.apache.org>
>
> cc
>
> Subject
> 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" <jh...@speakeasy.net>
>  To: "'Struts Users Mailing List'" <us...@struts.apache.org>
>  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:rsk@email.arizona.edu]
>  > > 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: user-unsubscribe@struts.apache.org
>  > > For additional commands, e-mail: user-help@struts.apache.org
>  > >
>  > >
>  > >
>  >
>  >
>  >
>  >  
> ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>  > For additional commands, e-mail: user-help@struts.apache.org
>  >
>  >
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>  For additional commands, e-mail: user-help@struts.apache.org
>
>
> ForwardSourceID:NT0000AB2E    
> <InterScan_Disclaimer.txt>--------------------------------------------- 
> ------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org