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 2010/10/30 17:45:29 UTC

svn commit: r1029103 - /harmony/enhanced/java/trunk/common_resources/make/depends.xml

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">