You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kirby Vandivort <kv...@ks.uiuc.edu> on 2002/02/15 20:04:13 UTC
Re: Deploying external dependencies
You also need to add directives to the deploy target to actually copy
the files over.. Something like:
<copy todir="${deploy.home}/WEB-INF/lib" file="${soap.jar}"/>
<copy todir="${deploy.home}/WEB-INF/lib" file="${xercesImpl.jar}"/>
<copy todir="${deploy.home}/WEB-INF/lib" file="${xmlParserAPIs.jar}"/>
I'm assuming there aren't any licensing issues with redistribution of
these.. (I've no idea.. Just thought I would toss this out)
On Fri, Feb 15, 2002 at 11:06:27AM -0800, Abhijit Dixit wrote:
> Hi,
>
> I'm trying to deploy a servlet using the sample build.xml file bundled with
> the Apache Tomcat distribution. My servlet needs some external JAR files
> and these have to be copied to the WEB-INF/lib directory. I added the
> following entries to my build.xml file ...
>
> <property name="soap.jar"
> value="/u0/adixit/Downloads/soap-2_2/build/lib/soap.jar"/>
> <property name="xercesImpl.jar"
> value="/u0/adixit/Downloads/xerces-2_0_0/build/lib/xercesImpl.jar"/>
> <property name="xmlParserAPIs.jar"
> value="/u0/adixit/Downloads/xerces-2_0_0/build/lib/xmlParserAPIs.jar"/>
>
> but when I do a deploy with Ant, although all the other files are deployed
> properly, these JAR files are not copied to the lib directory. Anything
> wrong with the above syntax ?
>
> -Abhijit
>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
--
Kirby Vandivort Theoretical Biophysics Group
Email: kvandivo@ks.uiuc.edu 3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/ University of Illinois
Phone: (217) 244-5711 405 N. Mathews Ave
Fax : (217) 244-6078 Urbana, IL 61801, USA
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>