You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by wg...@apache.org on 2006/03/20 22:18:05 UTC

svn commit: r387314 - /jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties

Author: wglass
Date: Mon Mar 20 13:18:04 2006
New Revision: 387314

URL: http://svn.apache.org/viewcvs?rev=387314&view=rev
Log:
add new heading to property defaults

Modified:
    jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties

Modified: jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties
URL: http://svn.apache.org/viewcvs/jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties?rev=387314&r1=387313&r2=387314&view=diff
==============================================================================
--- jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties (original)
+++ jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties Mon Mar 20 13:18:04 2006
@@ -120,8 +120,17 @@
 #----------------------------------------------------------------------------
 resource.manager.class = org.apache.velocity.runtime.resource.ResourceManagerImpl
 resource.manager.cache.class = org.apache.velocity.runtime.resource.ResourceCacheImpl
-parser.pool.class = org.apache.velocity.runtime.ParserPoolImpl
 
+#----------------------------------------------------------------------------
+# PARSER POOL
+#----------------------------------------------------------------------------
+# Selects a custom factory class for the parser pool.  Must implement 
+# ParserPool.  parser.pool.size is used by the default implementation
+# ParserPoolImpl
+#----------------------------------------------------------------------------
+
+parser.pool.class = org.apache.velocity.runtime.ParserPoolImpl
+parser.pool.size = 20
 
 #----------------------------------------------------------------------------
 # EVENT HANDLER



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


Re: svn commit: r387314 - /jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties

Posted by Will Glass-Husain <wg...@forio.com>.
Hi Daniel, yes - it was a missing default.  Thanks for the catch -
should have mentioned it.

On 3/25/06, Daniel Rall <dl...@apache.org> wrote:
> This commit also added the parser.pool.size property, but that is not
> mentioned in the change log.  Was that intentional?
>
> On Mon, 20 Mar 2006, wglass@apache.org wrote:
>
> > Author: wglass
> > Date: Mon Mar 20 13:18:04 2006
> > New Revision: 387314
> >
> > URL: http://svn.apache.org/viewcvs?rev=387314&view=rev
> > Log:
> > add new heading to property defaults
> >
> > Modified:
> >     jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties
> >
> > Modified: jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties
> > URL: http://svn.apache.org/viewcvs/jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties?rev=387314&r1=387313&r2=387314&view=diff
> > ==============================================================================
> > --- jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties (original)
> > +++ jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties Mon Mar 20 13:18:04 2006
> > @@ -120,8 +120,17 @@
> >  #----------------------------------------------------------------------------
> >  resource.manager.class = org.apache.velocity.runtime.resource.ResourceManagerImpl
> >  resource.manager.cache.class = org.apache.velocity.runtime.resource.ResourceCacheImpl
> > -parser.pool.class = org.apache.velocity.runtime.ParserPoolImpl
> >
> > +#----------------------------------------------------------------------------
> > +# PARSER POOL
> > +#----------------------------------------------------------------------------
> > +# Selects a custom factory class for the parser pool.  Must implement
> > +# ParserPool.  parser.pool.size is used by the default implementation
> > +# ParserPoolImpl
> > +#----------------------------------------------------------------------------
> > +
> > +parser.pool.class = org.apache.velocity.runtime.ParserPoolImpl
> > +parser.pool.size = 20
> >
> >  #----------------------------------------------------------------------------
> >  # EVENT HANDLER
> >
>
>
>


--
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

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


Re: svn commit: r387314 - /jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties

Posted by Daniel Rall <dl...@apache.org>.
This commit also added the parser.pool.size property, but that is not
mentioned in the change log.  Was that intentional?

On Mon, 20 Mar 2006, wglass@apache.org wrote:

> Author: wglass
> Date: Mon Mar 20 13:18:04 2006
> New Revision: 387314
> 
> URL: http://svn.apache.org/viewcvs?rev=387314&view=rev
> Log:
> add new heading to property defaults
> 
> Modified:
>     jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties
> 
> Modified: jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties
> URL: http://svn.apache.org/viewcvs/jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties?rev=387314&r1=387313&r2=387314&view=diff
> ==============================================================================
> --- jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties (original)
> +++ jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties Mon Mar 20 13:18:04 2006
> @@ -120,8 +120,17 @@
>  #----------------------------------------------------------------------------
>  resource.manager.class = org.apache.velocity.runtime.resource.ResourceManagerImpl
>  resource.manager.cache.class = org.apache.velocity.runtime.resource.ResourceCacheImpl
> -parser.pool.class = org.apache.velocity.runtime.ParserPoolImpl
>  
> +#----------------------------------------------------------------------------
> +# PARSER POOL
> +#----------------------------------------------------------------------------
> +# Selects a custom factory class for the parser pool.  Must implement 
> +# ParserPool.  parser.pool.size is used by the default implementation
> +# ParserPoolImpl
> +#----------------------------------------------------------------------------
> +
> +parser.pool.class = org.apache.velocity.runtime.ParserPoolImpl
> +parser.pool.size = 20
>  
>  #----------------------------------------------------------------------------
>  # EVENT HANDLER
>