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" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]
> > 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to