jvanzyl 00/12/19 08:14:42
Modified: src/java/org/apache/velocity/runtime RuntimeConstants.java
Log:
- Change the name of the properties for the file template loader
so that ResourceManager.setSourceProperty(k,v) works correctly.
This broke Turbine, I will test Turbine now.
Revision Changes Path
1.9 +4 -4
jakarta-velocity/src/java/org/apache/velocity/runtime/RuntimeConstants.java
Index: RuntimeConstants.java
===================================================================
RCS file:
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/RuntimeConstants.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- RuntimeConstants.java 2000/12/17 21:54:42 1.8
+++ RuntimeConstants.java 2000/12/19 16:14:42 1.9
@@ -110,10 +110,11 @@
/** Include paths property used by Runtime for #included content */
public final static String INCLUDE_PATHS = "include.path";
- public static final String FILE_TEMPLATE_PATH = "file.template.path";
- public static final String FILE_TEMPLATE_CACHE = "file.template.cache";
+ public static final String FILE_TEMPLATE_PATH = "file.resource.path";
+ public static final String FILE_TEMPLATE_CACHE = "file.cache";
- public static final String RUNTIME_LOG_REFERENCE_LOG_INVALID =
"runtime.log.reference.log_invalid";
+ public static final String RUNTIME_LOG_REFERENCE_LOG_INVALID =
+ "runtime.log.reference.log_invalid";
/**
* Starting tag for error messages triggered by passing
@@ -133,7 +134,6 @@
* Maximum recursion depth allowed for the #parse directive.
*/
public static String PARSE_DIRECTIVE_MAXDEPTH = "parse_directive.maxdepth";
-
/**
* Switch for the interpolation facility for string literals