velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbris...@apache.org
Subject svn commit: r1753240 - in /velocity/site/cms/trunk/content/engine/devel: dependencies.mdtext developer-guide.mdtext upgrading.mdtext
Date Mon, 18 Jul 2016 15:26:58 GMT
Author: cbrisson
Date: Mon Jul 18 15:26:57 2016
New Revision: 1753240

URL: http://svn.apache.org/viewvc?rev=1753240&view=rev
Log:
[site] some doc updates

Modified:
    velocity/site/cms/trunk/content/engine/devel/dependencies.mdtext
    velocity/site/cms/trunk/content/engine/devel/developer-guide.mdtext
    velocity/site/cms/trunk/content/engine/devel/upgrading.mdtext

Modified: velocity/site/cms/trunk/content/engine/devel/dependencies.mdtext
URL: http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/dependencies.mdtext?rev=1753240&r1=1753239&r2=1753240&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/dependencies.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/dependencies.mdtext Mon Jul 18 15:26:57 2016
@@ -12,12 +12,12 @@ All of these jars must be present when b
 Jar name | Version | Compilation | Tests | Runtime | Comment
 ---------|---------|---------|-------|-------------|--------
 slf4j-api | 1.7.12 | Yes | Yes | Yes | you'll also need an slf4j binding at runtime
-commons-collections | 3.2.2 | Yes | No | No |
+commons-collections | 3.2.2 | Yes | No | No | Dependancy upon commons-collections-3.x is
needed only by some deprecated classes and methods, so as to maintain backward compatibility,
and will be dropped in a future version.
 commons-lang | 3.4 | Yes | No | No |
 junit | 3.8.1 | No | Yes | No |
 hsqldb | 1.7.1 | No | Yes | No |
 commons-io | 2.4 | No | Yes | No |
-slf4j-simple | 1.7.12 | No | Yes | No |
+slf4j-simple | 1.7.12 | No | Yes | No | Your application will need *one* SLF4J binding, see
below
 servlet-api | 2.5 | No | No | No | Only needed in the context of a web application. Should
normally be supplied by the servlet container.
 
 At runtime, Velocity will require an SLF4J binding to be present in the path. Typically,
one of:

Modified: velocity/site/cms/trunk/content/engine/devel/developer-guide.mdtext
URL: http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/developer-guide.mdtext?rev=1753240&r1=1753239&r2=1753240&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/developer-guide.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/developer-guide.mdtext Mon Jul 18 15:26:57
2016
@@ -773,7 +773,7 @@ Below are listed the configuration keys
 
 `resource.manager.cache.class`
 
-> Declares the class to be used for resource caching.  The current default is `org.apache.velocity.runtime.resource.ResourceCacheImpl`.
When `resource.manager.defaultcache.size` is set to 0, then the default implementation is
the standard java `ConcurrentHashMap`. Otherwise, a non-zero cache size  uses an LRU Map.
 The default cache size is 89.  Note that the ConcurrentHashMap may be better at thread concurrency.
+> Declares the class to be used for resource caching.  The current default is `org.apache.velocity.runtime.resource.ResourceCacheImpl`.
When `resource.manager.defaultcache.size` is set to 0, then the default implementation is
the standard Java `ConcurrentHashMap`. Otherwise, a non-zero cache size  uses an LRU Map.
 The default cache size is 89.  Note that the ConcurrentHashMap may be better at thread concurrency.
 
 `resource.manager.defaultcache.size`
 

Modified: velocity/site/cms/trunk/content/engine/devel/upgrading.mdtext
URL: http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/upgrading.mdtext?rev=1753240&r1=1753239&r2=1753240&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/upgrading.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/upgrading.mdtext Mon Jul 18 15:26:57 2016
@@ -20,6 +20,7 @@ Behavior / API changes:
 + The `ResourceLoader` class has been deprecated in favor of a `ResourceLoader2` class, in
which the `InputStream ResourceLoader.getResourceStream(String name)` has been replaced by
a `Reader ResourceLoader.getResourceReader(String name, String encoding)`. Since `ResourceLoader`
inherits from `ResourceLoader2`, the change remains backward compatible, but custom resource
loaders should be upgraded to avoid deprecattion warnings.
 + The default encoding ('ISO-8859-1' in 1.x) is now read from the standard `file.encoding`
Java system property.
 + The `output.encoding` configuration property has been removed.
++ the MethodException event handler now receives an additional argument providing template
name and location infos.
 
 VTL Syntax changes:
 



Mime
View raw message