About
Community
Docs
Comparisons
Tools
|
Velocity Changes
|
This document tracks the changes in Velocity between releases.
1.0b2
|
-
Make the distribution have CRLF for all of the text files (JSS).
-
Fixed release packaging to create things in the right directory
structure (JSS).
-
Re-added 'include' support for Configuration. (JVZ)
-
Fixed VMProxy bug when reference arg was null. (#1074) (gmj)
-
Fixed nullpointer problem in cache refresh in ResourceManager
(reported by Ilkka Priha) (gmj)
-
VelocityServlet now respects the 'default.contentType'
property again. That must have fallen out during the 'request
process' rework in VelServlet. (reported by csterg@aias.gr) (gmj)
-
Changed AnakiaTask and TexenTask to use the canonical
template file path rather than the literal string specified.
Motivated for ease of gump-tion. Also added
failonerror to the testcases.xml for the same reason. (gmj)
-
Added Sam's suggestion for normalizing \n[\r] when comparing
results to expected results in the testbed via BaseTestCase (gmj)
-
Qualified import statments in Generator.java. Added tests for
automatic boolean mapping in TexenTestCase.java. Added default
boolean mapping to texen for properties used with the
contextProperties option. Allow variants on boolean values in
Configuration.java, and changes to relevant templates in testbed.
Added default objects to context in TexenTask.java. (JVZ)
-
Documentation changes to Configuration.java (DLR)
-
Augmented the MethodInvocationException message in ASTMethod to
make the stacktraces more useful - noted from some traffic on
Turbine list. (gmj)
-
Added powered by logo. Look in
xdocs/images/powered-by-logo.psd/.gif (JSS)
-
Changed the internals of the Configuration class so that
setProperty(K,V) will replace the value at K with V;
addProperty(K,V) works the way setProperty(K,V) used
to: if there is a value already stored at K then
V is added to the vector. If nothing is being stored
at K then the scalar V is simply added. setProperty(K,V)
is basically a short form for clearProperty(K)/addProperty(K,V).
Also added setConfiguration(C), so that an application using
velocity could easily take a subset of the application
configuration using C.subset(velocityProps) and set the
whole velocity configuration at once. This is now how
the velocity service works in Turbine. (JVZ)
-
Added support to the Runtime/Velocity classes for
addProperty(K,V). (JVZ)
-
Added support to Runtime/Velocity classes for setConfiguration.
(JVZ)
-
Confirmed that the build.bat works on Win98 as well as made the
classpath that the build.bat generates equal to the one that
build.sh generates. (JSS)
|
|
|