diff options
author | René Engelhard <rene@openoffice.org> | 2008-02-04 08:02:15 +0000 |
---|---|---|
committer | René Engelhard <rene@openoffice.org> | 2008-02-04 08:02:15 +0000 |
commit | ad1f290140dbf7e58c01b4e127ce044a3d6f0638 (patch) | |
tree | d17b2f4f3b36474ae398cdac7943f7a449a702bf /apache-commons/patches/codec.patch | |
parent | f2fe8c6aad0d44c85b1c22dbdff656c8a9d3fcb0 (diff) |
Issue number:
Submitted by:
Reviewed by:
#i85726# don't ship binary-only jars, build them
Diffstat (limited to 'apache-commons/patches/codec.patch')
-rw-r--r-- | apache-commons/patches/codec.patch | 17 |
1 files changed, 17 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}">
|