You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by wg...@apache.org on 2007/03/26 06:42:37 UTC
svn commit: r522414 - in
/velocity/engine/trunk/src/java/org/apache/velocity/runtime:
RuntimeConstants.java defaults/velocity.properties
Author: wglass
Date: Sun Mar 25 21:42:35 2007
New Revision: 522414
URL: http://svn.apache.org/viewvc?view=rev&rev=522414
Log:
rename configuration property to start with "directive"
Modified:
velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeConstants.java
velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties
Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeConstants.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeConstants.java?view=diff&rev=522414&r1=522413&r2=522414
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeConstants.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeConstants.java Sun Mar 25 21:42:35 2007
@@ -138,6 +138,9 @@
/** Maximum recursion depth allowed for the #parse directive. */
String PARSE_DIRECTIVE_MAXDEPTH = "directive.parse.max.depth";
+ /** class to use for local context with #evaluate() **/
+ String EVALUATE_CONTEXT_CLASS = "directive.evaluate.context.class";
+
/*
* ----------------------------------------------------------------------
@@ -286,11 +289,7 @@
* @see #NUMBER_OF_PARSERS
*/
String PARSER_POOL_SIZE = "parser.pool.size";
-
-
- /** class to use for local context with #evaluate() **/
- String EVALUATE_CONTEXT_CLASS = "runtime.evaluate.context.class";
-
+
/*
* ----------------------------------------------------------------------
* These constants are used internally by the Velocity runtime i.e.
Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties?view=diff&rev=522414&r1=522413&r2=522414
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties Sun Mar 25 21:42:35 2007
@@ -173,7 +173,7 @@
# Evaluate VTL dynamically in template. Select a class for the Context
# ----------------------------------------------------------------------------
-runtime.evaluate.context.class = org.apache.velocity.VelocityContext
+directive.evaluate.context.class = org.apache.velocity.VelocityContext
# ----------------------------------------------------------------------------