diff --git a/.cvsignore b/.cvsignore index 0f4840a..a46cd8f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,5 +1 @@ -velocity-1.4-RHCLEAN.tar.bz2 -velocity-1.4 -noarch -*.src.rpm -velocity-1.4.tar.gz +velocity-1.6.3.tar.gz diff --git a/sources b/sources index 4ff8d93..8e664d8 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -61f3efdd490b01206b3c3377a86e4005 velocity-1.4-RHCLEAN.tar.bz2 -f280fee7ddb5eac5b354f6dea39a2f51 velocity-1.4.tar.gz +5fee48e193cbc471c9a496c87ab06b9e velocity-1.6.3.tar.gz diff --git a/velocity-cleanup-pom.patch b/velocity-cleanup-pom.patch new file mode 100644 index 0000000..ba46839 --- /dev/null +++ b/velocity-cleanup-pom.patch @@ -0,0 +1,28 @@ +--- velocity-1.6.3/pom.xml.orig 2010-01-15 14:35:23.193906857 +0000 ++++ velocity-1.6.3/pom.xml 2010-01-15 14:36:41.767906266 +0000 +@@ -25,12 +25,6 @@ + + 4.0.0 + +- +- org.apache +- apache +- 4 +- +- + org.apache.velocity + velocity + 1.6.3 +@@ -196,12 +190,6 @@ + provided + + +- logkit +- logkit +- 2.0 +- provided +- +- + ant + ant + 1.6 diff --git a/velocity-legacy-tests.patch b/velocity-legacy-tests.patch new file mode 100644 index 0000000..98443ce --- /dev/null +++ b/velocity-legacy-tests.patch @@ -0,0 +1,15 @@ +--- velocity-1.6.3.mef/build/testcases.xml.orig 2010-01-15 13:09:06.265907075 +0000 ++++ velocity-1.6.3.mef/build/testcases.xml 2010-01-15 13:09:08.356067618 +0000 +@@ -36,12 +36,6 @@ + + + +- +- +- +- +- +- + + + diff --git a/velocity-remove-avalon-logkit.patch b/velocity-remove-avalon-logkit.patch new file mode 100644 index 0000000..c4e3651 --- /dev/null +++ b/velocity-remove-avalon-logkit.patch @@ -0,0 +1,31 @@ +diff -ur velocity-1.6.3/src/java/org/apache/velocity/runtime/defaults/velocity.properties velocity-1.6.3.mef/src/java/org/apache/velocity/runtime/defaults/velocity.properties +--- velocity-1.6.3/src/java/org/apache/velocity/runtime/defaults/velocity.properties 2009-12-07 23:41:24.000000000 +0000 ++++ velocity-1.6.3.mef/src/java/org/apache/velocity/runtime/defaults/velocity.properties 2010-01-15 12:25:51.406906108 +0000 +@@ -20,10 +20,10 @@ + # ---------------------------------------------------------------------------- + + # ---------------------------------------------------------------------------- +-# default LogChute to use: default: AvalonLogChute, Log4JLogChute, CommonsLogLogChute, ServletLogChute, JdkLogChute ++# default LogChute to use: default: Log4JLogChute, CommonsLogLogChute, ServletLogChute, JdkLogChute + # ---------------------------------------------------------------------------- + +-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 ++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 + + # --------------------------------------------------------------------------- + # This is the location of the Velocity Runtime log. +Only in velocity-1.6.3/src/java/org/apache/velocity/runtime/log: AvalonLogChute.java +Only in velocity-1.6.3/src/java/org/apache/velocity/runtime/log: AvalonLogSystem.java +diff -ur velocity-1.6.3/src/java/org/apache/velocity/runtime/log/LogManager.java velocity-1.6.3.mef/src/java/org/apache/velocity/runtime/log/LogManager.java +--- velocity-1.6.3/src/java/org/apache/velocity/runtime/log/LogManager.java 2009-12-07 23:41:24.000000000 +0000 ++++ velocity-1.6.3.mef/src/java/org/apache/velocity/runtime/log/LogManager.java 2010-01-15 12:25:51.407906304 +0000 +@@ -119,7 +119,7 @@ + * classes, and we use the first one we find. + * + * Note that the default value of this property contains the +- * AvalonLogChute, the Log4JLogChute, CommonsLogLogChute, ++ * Log4JLogChute, CommonsLogLogChute, + * ServletLogChute, and the JdkLogChute for + * convenience - so we use whichever we works first. + */ +Only in velocity-1.6.3/src/java/org/apache/velocity/runtime/log: VelocityFormatter.java diff --git a/velocity-use-system-jars.patch b/velocity-use-system-jars.patch new file mode 100644 index 0000000..8ce6ba6 --- /dev/null +++ b/velocity-use-system-jars.patch @@ -0,0 +1,180 @@ +--- velocity-1.6.3.mef/build/build.xml.orig 2010-01-15 12:53:01.344906711 +0000 ++++ velocity-1.6.3.mef/build/build.xml 2010-01-15 12:53:07.537915055 +0000 +@@ -138,28 +138,6 @@ + + + +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- + + + +@@ -172,12 +150,11 @@ + + + +- ++ + + + +- + + + +@@ -208,10 +185,9 @@ + + + +- ++ + +- + + + +@@ -246,7 +222,7 @@ + + + +- + ++ optimize="${optimize}"/> + + + +@@ -266,7 +241,7 @@ + + + +- + + +- +- + + + +@@ -503,7 +476,7 @@ + + + +- + + +@@ -527,8 +500,7 @@ + encoding="UTF-8" + debug="${debug}" + deprecation="${deprecation}" +- optimize="${optimize}" +- classpathref="velocity.run.classpath"/> ++ optimize="${optimize}"/> + + + +@@ -546,7 +518,7 @@ + + + +- + + +@@ -562,8 +534,7 @@ + doctitle="${name} ${version} API" + encoding="UTF-8" + docencoding="UTF-8" +- bottom="Copyright © 2000-${build.year} <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved." +- classpathref="velocity.build.classpath"> ++ bottom="Copyright © 2000-${build.year} <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved."> + + + +@@ -918,12 +889,11 @@ + + + +- + + ++ classname="org.apache.velocity.anakia.AnakiaTask"/> + + + ####################################################### +@@ -1106,7 +1076,7 @@ + + + +- + + +@@ -1120,8 +1090,6 @@ + + + +- +- + + + +--- velocity-1.6.3.mef/build/testcases.xml.orig 2010-01-15 13:09:06.265907075 +0000 ++++ velocity-1.6.3.mef/build/testcases.xml 2010-01-15 13:09:08.356067618 +0000 +@@ -36,12 +36,6 @@ + + + +- +- +- +- +- +- + + +