You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rupert Jones <ru...@rupertjones.com> on 2003/03/18 21:41:49 UTC
1.1b2, commons*.jar and classpath
When _compiling_ a web application that uses struts (1.1b2), do the
commons*.jar files need to be in the classpath sent to the compiler?, or
only the struts.jar? I realise they need to be in the web-inf/lib
directory of the web app.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: 1.1b2, commons*.jar and classpath
Posted by James Mitchell <jm...@apache.org>.
Oops, since Rupert has a 'reply to' set, Ximian sent it only to him.
On Tue, 2003-03-18 at 16:00, James Mitchell wrote:
> On Tue, 2003-03-18 at 15:41, Rupert Jones wrote:
> > When _compiling_ a web application that uses struts (1.1b2), do the
> > commons*.jar files need to be in the classpath sent to the compiler?, or
> > only the struts.jar? I realise they need to be in the web-inf/lib
> > directory of the web app.
>
> Yes, well, that depends on what your application uses. Logging, JDBC,
> etc, etc.
>
> I usually set up my projects so that the structure matches the way its
> deployed (all jars go under /WEB-INF/lib), and my ant script simply uses
> whatever is in that directory. Drop it in and recompile, take it out,
> and do the same. I never have to modify my build.xml just because I
> forgot a dependent jar.
>
> This also has several other benefits...easier navigation of tree, you
> can copy the structure and deploy "as is" on Tomcat or JBoss/Tomcat.
>
>
> --
> James Mitchell
> Software Developer/Struts Evangelist
> http://struts.sourceforge.net/struts-atlanta
>
>
--
James Mitchell
Software Developer/Struts Evangelist
http://struts.sourceforge.net/struts-atlanta
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org