velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbris...@apache.org
Subject svn commit: r1842398 - /velocity/tools/trunk/velocity-tools-view/src/main/java/org/apache/velocity/tools/view/VelocityView.java
Date Sun, 30 Sep 2018 16:05:43 GMT
Author: cbrisson
Date: Sun Sep 30 16:05:43 2018
New Revision: 1842398

URL: http://svn.apache.org/viewvc?rev=1842398&view=rev
Log:
[tools] Fix servlet tools loading

Modified:
    velocity/tools/trunk/velocity-tools-view/src/main/java/org/apache/velocity/tools/view/VelocityView.java

Modified: velocity/tools/trunk/velocity-tools-view/src/main/java/org/apache/velocity/tools/view/VelocityView.java
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/velocity-tools-view/src/main/java/org/apache/velocity/tools/view/VelocityView.java?rev=1842398&r1=1842397&r2=1842398&view=diff
==============================================================================
--- velocity/tools/trunk/velocity-tools-view/src/main/java/org/apache/velocity/tools/view/VelocityView.java
(original)
+++ velocity/tools/trunk/velocity-tools-view/src/main/java/org/apache/velocity/tools/view/VelocityView.java
Sun Sep 30 16:05:43 2018
@@ -415,7 +415,7 @@ public class VelocityView extends ViewTo
         String servletToolsPath = config.getInitParameter(TOOLS_KEY);
         if (servletToolsPath != null)
         {
-            FactoryConfiguration servletToolsConfig = getConfiguration(appToolsPath, true);
+            FactoryConfiguration servletToolsConfig = getConfiguration(servletToolsPath,
true);
             factoryConfig.addConfiguration(servletToolsConfig);
             getLog().debug("Loaded configuration from: {}", servletToolsPath);
         }



Mime
View raw message