tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Nielsen <gl...@voyager.apg.more.net>
Subject Tomcat 4.1-dev Host unpackWARs not working
Date Thu, 28 Feb 2002 15:18:39 GMT
The Host attribute unpackWARs="true" is not working in the Tomcat 4 HEAD CVS
version.

I think it is due to the following at line 232 in StandardHostDeployer.java
If you turn debug on you will see that a war file in the webapps directory
is deployed using a jar:file URL.

        // Expand a WAR archive into an unpacked directory if needed
        // NOTE:  If the user supplies a "jar:file:" URL, assume that
        // they do not want WAR expansion even if unpackWARs is set
        if (host.isUnpackWARs() && !url.startsWith("jar:file:")) {

What is the reason for making the above assumption?

If there is a valid reason for doing this, it should be documented
that unpackWARs="true" works except when ...

Regards,

Glenn
 
----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message