summaryrefslogtreecommitdiff
path: root/apache-commons/patches
diff options
context:
space:
mode:
authorRené Engelhard <rene@openoffice.org>2008-02-04 08:02:15 +0000
committerRené Engelhard <rene@openoffice.org>2008-02-04 08:02:15 +0000
commitad1f290140dbf7e58c01b4e127ce044a3d6f0638 (patch)
treed17b2f4f3b36474ae398cdac7943f7a449a702bf /apache-commons/patches
parentf2fe8c6aad0d44c85b1c22dbdff656c8a9d3fcb0 (diff)
Issue number:
Submitted by: Reviewed by: #i85726# don't ship binary-only jars, build them
Diffstat (limited to 'apache-commons/patches')
-rw-r--r--apache-commons/patches/codec.patch17
-rw-r--r--apache-commons/patches/logging.patch25
2 files changed, 42 insertions, 0 deletions
diff --git a/apache-commons/patches/codec.patch b/apache-commons/patches/codec.patch
new file mode 100644
index 000000000000..dea25ad263d2
--- /dev/null
+++ b/apache-commons/patches/codec.patch
@@ -0,0 +1,17 @@
+--- misc/build/commons-codec-1.3/build.xml-old 2008-01-31 15:28:58.000000000 +0100
++++ misc/build/commons-codec-1.3/build.xml 2008-01-31 15:29:21.000000000 +0100
+@@ -90,14 +90,12 @@
+ </target>
+ <target name="dist" depends="compile,javadoc" description="Create binary distribution">
+ <mkdir dir="${dist.home}"/>
+- <copy file="../LICENSE" todir="${dist.home}"/>
+ <copy file="${basedir}/RELEASE-NOTES.txt" todir="${dist.home}"/>
+ <antcall target="jar"/>
+ </target>
+ <target name="jar" depends="compile" description="Create jar">
+ <mkdir dir="${dist.home}"/>
+ <mkdir dir="${build.home}/classes/META-INF"/>
+- <copy file="../LICENSE" tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
+ <jar jarfile="${dist.home}/${final.name}.jar" basedir="${build.home}/classes" manifest="${build.home}/conf/MANIFEST.MF"/>
+ </target>
+ <target name="install-jar" depends="jar" description="--> Installs jar file in ${lib.repo}">
diff --git a/apache-commons/patches/logging.patch b/apache-commons/patches/logging.patch
new file mode 100644
index 000000000000..b1c4b6652fa0
--- /dev/null
+++ b/apache-commons/patches/logging.patch
@@ -0,0 +1,25 @@
+*** misc/build/commons-logging-1.1.1-src/build.xml-old 2008-02-01 13:16:54.000000000 +0100
+--- misc/build/commons-logging-1.1.1-src/build.xml 2008-02-01 13:17:09.000000000 +0100
+***************
+*** 127,136 ****
+ <!-- ========== Compiler Defaults ========================================= -->
+
+ <!-- Version of java class files to generate. -->
+! <property name="target.version" value="1.1"/>
+
+ <!-- Version of java source to accept -->
+! <property name="source.version" value="1.2"/>
+
+ <!-- Should Java compilations set the 'debug' compiler option? -->
+ <property name="compile.debug" value="true"/>
+--- 127,136 ----
+ <!-- ========== Compiler Defaults ========================================= -->
+
+ <!-- Version of java class files to generate. -->
+! <property name="target.version" value="1.3"/>
+
+ <!-- Version of java source to accept -->
+! <property name="source.version" value="1.3"/>
+
+ <!-- Should Java compilations set the 'debug' compiler option? -->
+ <property name="compile.debug" value="true"/>