avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r1031797 - in /avro/trunk: CHANGES.txt lang/java/src/java/org/apache/avro/specific/SpecificCompiler.java
Date Fri, 05 Nov 2010 21:12:08 GMT
Author: cutting
Date: Fri Nov  5 21:12:08 2010
New Revision: 1031797

URL: http://svn.apache.org/viewvc?rev=1031797&view=rev
Log:
AVRO-693. Java: Configure Velocity to use null logger.  Contributed by Stephen Gargan.

Modified:
    avro/trunk/CHANGES.txt
    avro/trunk/lang/java/src/java/org/apache/avro/specific/SpecificCompiler.java

Modified: avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=1031797&r1=1031796&r2=1031797&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Fri Nov  5 21:12:08 2010
@@ -40,6 +40,9 @@ Avro 1.5.0 (unreleased)
     exponential time for some recursive schemas.
     (Richard Ahrens via cutting)
 
+    AVRO-693. Java: Configure Velocity to use null logger, removing a
+    dependency that was breaking the build.  (Stephen Gargan via cutting)
+
 Avro 1.4.1 (13 October 2010)
 
   NEW FEATURES

Modified: avro/trunk/lang/java/src/java/org/apache/avro/specific/SpecificCompiler.java
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/src/java/org/apache/avro/specific/SpecificCompiler.java?rev=1031797&r1=1031796&r2=1031797&view=diff
==============================================================================
--- avro/trunk/lang/java/src/java/org/apache/avro/specific/SpecificCompiler.java (original)
+++ avro/trunk/lang/java/src/java/org/apache/avro/specific/SpecificCompiler.java Fri Nov 
5 21:12:08 2010
@@ -104,6 +104,8 @@ public class SpecificCompiler {
     velocityEngine.addProperty("class.resource.loader.class",
         "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader");
     velocityEngine.setProperty("runtime.references.strict", true);
+    velocityEngine.setProperty("runtime.log.logsystem.class", 
+        "org.apache.velocity.runtime.log.NullLogChute");
   }
 
   /**



Mime
View raw message