tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Hammes" <Paul.Ham...@gmx.de>
Subject Re: RE: unzip a jar file from a war file to tomcat/webapp
Date Fri, 29 Jun 2007 05:25:11 GMT
I have to unzip the jar at the time of deployment because of the size of the war file. the
jar file contains 20mb of images. So I can safe several mb to transfer to the server where
the application will run.

Of course I will unzip it to a special webapp's directory.

-------- Original-Nachricht --------
Datum: Thu, 28 Jun 2007 18:56:00 -0500
Von: "Caldarale, Charles R" <Chuck.Caldarale@unisys.com>
An: "Tomcat Users List" <users@tomcat.apache.org>
Betreff: RE: unzip a jar file from a war file to tomcat/webapp

> > From: Paul Hammes [mailto:Paul.Hammes@gmx.de]
> > Subject: unzip a jar file from a war file to tomcat/webapp
> > 
> > i have to unzip a jar, contained in a war file. This jar file 
> > is contained in the web-inf/lib directory.
> 
> Why don't you unzip it as part of building the .war, rather than waiting
> until run time?  It would seem to be a whole lot easier.
> 
> > There are several images in this jar and i want to unzip it
> > to tomcat/webapp directory so the browser can access the
> > images directly.
> 
> I hope you mean unzip it into the specific app's directory under the
> $TOMCAT_HOME/webapps, rather than directly into webapps.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message