ports/java/jakarta-commons-codec/files/patch-build.xml
2005-11-03 08:28:49 +00:00

19 lines
1.1 KiB
XML

--- build.xml.orig Mon May 24 01:30:33 2004
+++ build.xml Thu Nov 3 07:59:01 2005
@@ -90,14 +90,14 @@
</target>
<target name="dist" depends="compile,javadoc" description="Create binary distribution">
<mkdir dir="${dist.home}"/>
- <copy file="../LICENSE" todir="${dist.home}"/>
+ <copy file="${basedir}/LICENSE.txt" 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"/>
+ <copy file="${basedir}/LICENSE.txt" 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}">