Author: markt
Date: Sat Jun 13 20:43:04 2009
New Revision: 784468
URL: http://svn.apache.org/viewvc?rev=784468&view=rev
Log:
Better default for appbase.
Patch by Ian Darwin
Modified:
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardHost.java
tomcat/container/tc5.5.x/webapps/docs/changelog.xml
tomcat/container/tc5.5.x/webapps/docs/config/host.xml
Modified:
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardHost.java
URL:
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardHost.java?rev=784468&r1=784467&r2=784468&view=diff
==============================================================================
---
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardHost.java
(original)
+++
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardHost.java
Sat Jun 13 20:43:04 2009
@@ -77,7 +77,7 @@
/**
* The application root for this Host.
*/
- private String appBase = ".";
+ private String appBase = "webapps";
/**
Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=784468&r1=784467&r2=784468&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Sat Jun 13 20:43:04 2009
@@ -147,6 +147,9 @@
Fix various WebDAV compliance issues identified by the Litmus test
suite. (markt)
</fix>
+ <fix>
+ Use a better default (webapps) for a Host's appBase. (idarwin/markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Jasper">
Modified: tomcat/container/tc5.5.x/webapps/docs/config/host.xml
URL:
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/config/host.xml?rev=784468&r1=784467&r2=784468&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/config/host.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/config/host.xml Sat Jun 13 20:43:04
2009
@@ -85,7 +85,8 @@
to the <code>$CATALINA_BASE</code> directory. See
<a href="#Automatic Application Deployment">Automatic Application
Deployment</a> for more information on automatic recognition and
- deployment of web applications to be deployed automatically.</p>
+ deployment of web applications to be deployed automatically.If not
+ specified, the default of <code>webapps</code> will be used.</p>
</attribute>
<attribute name="autoDeploy" required="false">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]