Blame SOURCES/0001-Remove-avalon-logkit.patch

d19125
From 1d2f89cb3e954b943751fa8dd587fdb404eb9338 Mon Sep 17 00:00:00 2001
d19125
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
d19125
Date: Mon, 21 Feb 2011 15:53:34 +0100
d19125
Subject: [PATCH 1/3] Remove avalon-logkit
d19125
d19125
we don't have it packaged so change defaults and remove it from pom.xml
d19125
---
d19125
 pom.xml                                            |    6 ------
d19125
 .../velocity/runtime/defaults/velocity.properties  |    4 ++--
d19125
 .../apache/velocity/runtime/log/LogManager.java    |    2 +-
d19125
 3 files changed, 3 insertions(+), 9 deletions(-)
d19125
d19125
diff --git a/pom.xml b/pom.xml
d19125
index 77a8e38..f453208 100644
d19125
--- a/pom.xml
d19125
+++ b/pom.xml
d19125
@@ -197,12 +197,6 @@
d19125
       <scope>provided</scope>
d19125
     </dependency>
d19125
     <dependency>
d19125
-      <groupId>logkit</groupId>
d19125
-      <artifactId>logkit</artifactId>
d19125
-      <version>2.0</version>
d19125
-      <scope>provided</scope>
d19125
-    </dependency>
d19125
-    <dependency>
d19125
       <groupId>ant</groupId>
d19125
       <artifactId>ant</artifactId>
d19125
       <version>1.6</version>
d19125
diff --git a/src/java/org/apache/velocity/runtime/defaults/velocity.properties b/src/java/org/apache/velocity/runtime/defaults/velocity.properties
d19125
index 750a59a..7fac119 100644
d19125
--- a/src/java/org/apache/velocity/runtime/defaults/velocity.properties
d19125
+++ b/src/java/org/apache/velocity/runtime/defaults/velocity.properties
d19125
@@ -20,10 +20,10 @@
d19125
 # ----------------------------------------------------------------------------
d19125
 
d19125
 # ----------------------------------------------------------------------------
d19125
-#  default LogChute to use: default: AvalonLogChute, Log4JLogChute, CommonsLogLogChute, ServletLogChute, JdkLogChute
d19125
+#  default LogChute to use: default: Log4JLogChute, CommonsLogLogChute, ServletLogChute, JdkLogChute
d19125
 # ----------------------------------------------------------------------------
d19125
 
d19125
-runtime.log.logsystem.class = org.apache.velocity.runtime.log.AvalonLogChute,org.apache.velocity.runtime.log.Log4JLogChute,org.apache.velocity.runtime.log.CommonsLogLogChute,org.apache.velocity.runtime.log.ServletLogChute,org.apache.velocity.runtime.log.JdkLogChute
d19125
+runtime.log.logsystem.class = org.apache.velocity.runtime.log.Log4JLogChute,org.apache.velocity.runtime.log.CommonsLogLogChute,org.apache.velocity.runtime.log.ServletLogChute,org.apache.velocity.runtime.log.JdkLogChute
d19125
 
d19125
 # ---------------------------------------------------------------------------
d19125
 # This is the location of the Velocity Runtime log.
d19125
diff --git a/src/java/org/apache/velocity/runtime/log/LogManager.java b/src/java/org/apache/velocity/runtime/log/LogManager.java
d19125
index 19d1016..97dceef 100644
d19125
--- a/src/java/org/apache/velocity/runtime/log/LogManager.java
d19125
+++ b/src/java/org/apache/velocity/runtime/log/LogManager.java
d19125
@@ -119,7 +119,7 @@ public class LogManager
d19125
          * classes, and we use the first one we find.
d19125
          *
d19125
          * Note that the default value of this property contains the
d19125
-         * AvalonLogChute, the Log4JLogChute, CommonsLogLogChute,
d19125
+         * Log4JLogChute, CommonsLogLogChute,
d19125
          * ServletLogChute, and the JdkLogChute for
d19125
          * convenience - so we use whichever we works first.
d19125
          */
d19125
-- 
d19125
1.7.4
d19125