tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirby Vandivort <kvand...@ks.uiuc.edu>
Subject Re: <TC> Deploying external dependencies
Date Fri, 15 Feb 2002 19:04:13 GMT
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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message