You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2007/08/29 15:44:04 UTC
svn commit: r570811 - /harmony/enhanced/classlib/trunk/make/depends.xml
Author: hindessm
Date: Wed Aug 29 06:44:03 2007
New Revision: 570811
URL: http://svn.apache.org/viewvc?rev=570811&view=rev
Log:
Don't extract dejavu-fonts every time fetch-depends is run.
Modified:
harmony/enhanced/classlib/trunk/make/depends.xml
Modified: harmony/enhanced/classlib/trunk/make/depends.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/make/depends.xml?rev=570811&r1=570810&r2=570811&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/make/depends.xml (original)
+++ harmony/enhanced/classlib/trunk/make/depends.xml Wed Aug 29 06:44:03 2007
@@ -96,13 +96,24 @@
<antcall target="-awt-tar-extract" />
</target>
- <target name="-extract" depends="-extract-props,-really-extract-mx4j" />
+ <target name="-extract"
+ depends="-extract-props,-really-extract-mx4j,-really-extract-dejavu-fonts" />
+
<target name="-extract-props">
+ <uptodate property="dejavu-fonts.uptodate"
+ srcfile="${dejavu-fonts.zip}"
+ targetfile="${dejavu-fonts.fonts.dir}/DejaVuSerif.ttf" />
<uptodate property="mx4j.uptodate"
srcfile="${mx4j.zip}"
targetfile="${mx4j.jar}" />
</target>
+
+ <target name="-really-extract-dejavu-fonts" unless="dejavu-fonts.uptodate">
+ <unzip src="${dejavu-fonts.zip}" dest="${dejavu-fonts.dir}" />
+ </target>
+
<target name="-really-extract-mx4j" unless="mx4j.uptodate">
+
<!-- This doesn't work for me since my ant doesn't support
mapper in unzip.
@@ -343,7 +354,6 @@
<mkdir dir="${dejavu-fonts.dir}" />
<download-one-file src="${dejavu-fonts.url}" dest="${dejavu-fonts.zip}"
md5="${dejavu-fonts.md5}" />
- <unzip src="${dejavu-fonts.zip}" dest="${dejavu-fonts.dir}" />
<mkdir dir="${derby.dir}" />
<download-one-file src="${derby.url}"