harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r1029103 - /harmony/enhanced/java/trunk/common_resources/make/depends.xml
Date Sat, 30 Oct 2010 15:45:29 GMT
Author: hindessm
Date: Sat Oct 30 15:45:29 2010
New Revision: 1029103

URL: http://svn.apache.org/viewvc?rev=1029103&view=rev
Log:
Another attempt to fix the depends download problem.

Modified:
    harmony/enhanced/java/trunk/common_resources/make/depends.xml

Modified: harmony/enhanced/java/trunk/common_resources/make/depends.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/common_resources/make/depends.xml?rev=1029103&r1=1029102&r2=1029103&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/common_resources/make/depends.xml (original)
+++ harmony/enhanced/java/trunk/common_resources/make/depends.xml Sat Oct 30 15:45:29 2010
@@ -58,6 +58,8 @@
             <echo>Checking @{dest}</echo>
             <available file="@{dest}" type="file"
                        property="@{dest}.exists" />
+            <dirname file="@{dest}" property="@{dest}.mkdir" />
+            <mkdir dir="${@{dest}.mkdir}" />
             <antcall target="-really-download">
                 <param name="src" value="@{src}" />
                 <param name="dest" value="@{dest}" />
@@ -92,7 +94,7 @@ file and put it in the specified directo
 
     <target name="-really-download" unless="${dest}.exists">
         <echo>Fetching ${dest}</echo>
-    <get src="${src}" dest="${dest}" usetimestamp="true" verbose="true" />
+        <get src="${src}" dest="${dest}" usetimestamp="true" verbose="true" />
     </target>
 
     <target name="-remove-file-if-bad" unless="${dest}.md5.verified">



Mime
View raw message