You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/11/03 18:19:54 UTC

DO NOT REPLY [Bug 50205] New: Add deployIgnorePaths attribute to StandardHost

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


DO NOT REPLY [Bug 50205] Add deployIgnorePaths attribute to StandardHost

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50205

--- Comment #2 from Jim Riggs <ji...@riggs.me> 2010-11-05 11:10:13 EDT ---
Created an attachment (id=26258)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26258)
deployIgnorePaths-tc6 v1

...and a backport for TC6.

-- 
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


DO NOT REPLY [Bug 50205] Add deployIgnorePaths attribute to StandardHost

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50205

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Mark Thomas <ma...@apache.org> 2011-01-18 12:01:30 EST ---
Fixed in 6.0.x and will be included in 6.0.31 onwards.

-- 
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


DO NOT REPLY [Bug 50205] Add deployIgnorePaths attribute to StandardHost

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50205

--- Comment #1 from Jim Riggs <ju...@christianserving.org> 2010-11-03 13:20:27 UTC ---
Created an attachment (id=26251)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26251)
deployIgnorePaths v1

-- 
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


DO NOT REPLY [Bug 50205] Add deployIgnorePaths attribute to StandardHost

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50205

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Catalina                    |Catalina
            Version|trunk                       |6.0.29
            Product|Tomcat 7                    |Tomcat 6
   Target Milestone|---                         |default

--- Comment #3 from Mark Thomas <ma...@apache.org> 2011-01-10 13:10:38 EST ---
Fixed in 7.0.x and included in 7.0.6

Proposed for 6.0.x

I used a slightly different patch but it was heavily based on your work.
Thanks.

-- 
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