tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: svn commit: r575332 - in /tomcat/tc6.0.x/trunk: java/org/apache/naming/resources/FileDirContext.java webapps/docs/changelog.xml
Date Thu, 13 Sep 2007 15:25:15 GMT
funkman@apache.org wrote:
> Author: funkman
> Date: Thu Sep 13 08:19:59 2007
> New Revision: 575332
> 
> URL: http://svn.apache.org/viewvc?rev=575332&view=rev
> Log:
> Allow for Aliases at the resource level. 
> 
> This is to prevent situations of relying on symlinks, or Filters 
> while still make outside directories appear as part of the webapp. 
> (A common feature request seen on the user list) 
> 
> Example usage:
> <Context ... >
>   <Resources className="org.apache.naming.resources.FileDirContext"
>                aliases="/doh/=C:/tmp/woohoo/,
>                         /mmmmmm/=C:/opt/data/doughnuts/" />
> </Context>
> 
> If the feature is NOT used - there is no additional overhead.

The reasonable thing would have been to talk a bit about it. I think 
using a subclass (assuming you really want to put this in, which I don't 
really like - small euphemism) would be more reasonable.

Since you did not do any of this, I will have to veto this patch.

Rémy

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


Mime
View raw message