On Wed, 13 Feb 2002, John Wadkin wrote:
> Date: Wed, 13 Feb 2002 17:45:51 -0000
> From: John Wadkin <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: "Tomcat Users List (E-mail)" <[EMAIL PROTECTED]>
> Subject: Unjar a war??
>
> All,
>
> Is it possible to unjar a war file using something like jar -x? I've tried
> and nothing happens! TomCat obviously does it but how?
>
Tomcat uses the entries() method from java.util.jar.JarFile to enumerate
the entries in the JAR, and then manually creates each file as needed.
The code for this is in class
org.apache.catalina.core.StandardHostDeployer.
> Thanks,
>
> John
Craig
>
> --
> To unsubscribe: <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>