tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50205] New: Add deployIgnorePaths attribute to StandardHost
Date Wed, 03 Nov 2010 17:19:54 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50205

           Summary: Add deployIgnorePaths attribute to StandardHost
           Product: Tomcat 7
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: junk@christianserving.org


The attached patch adds a deployIgnorePaths attribute to StandardHost as I
discussed with markt at ApacheConNA.  The attribute is a comma-separated list
of regular expressions that will exclude files or directories under appBase
from autoDepoy and deployOnStartup.  The host docs have been updated, and JMX
get and set have been tested.

Why?  Here are a couple of use cases that this attribute can fix:

- CATALINA_BASE configuration is kept under version control.  For example, I
keep all of my configuration in subversion.  This includes appBase which has
svn:externals to pull in the application code.  So, appBase/.svn gets deployed.

- A context defined in server.xml but living in appBase will currently get
double-deployed.  The recommendation is to move the app outside of appBase, but
this attribute would allow it to live there with the instance's other apps.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message