harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r570811 - /harmony/enhanced/classlib/trunk/make/depends.xml
Date Wed, 29 Aug 2007 13:44:04 GMT
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}"



Mime
View raw message