harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r552781 - /harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml
Date Tue, 03 Jul 2007 11:23:20 GMT
Author: smishura
Date: Tue Jul  3 04:23:18 2007
New Revision: 552781

URL: http://svn.apache.org/viewvc?view=rev&rev=552781
Log:
Add 64bits snapshots for downloading

Modified:
    harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml

Modified: harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml?view=diff&rev=552781&r1=552780&r2=552781
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml Tue Jul  3 04:23:18
2007
@@ -23,15 +23,51 @@
     <condition property="is.windows">
         <os family="Windows" />
     </condition>
+    <condition property="is.x86_64">
+        <or>
+            <equals arg1="x86_64" arg2="${os.arch}" />
+            <equals arg1="amd64" arg2="${os.arch}" />
+        </or>
+    </condition>
 
     <condition property="exe" value=".exe" else="">
         <isset property="is.windows" />
     </condition>
+
+    <!--                                 -->
+    <!-- which snapshot file to download -->
+    <!--                                 -->
+
+    <!-- Windows x86_64 -->
     <condition property="snapshot.file"
-               value="latest-harmony-hdk-windows-x86.zip"
-               else="latest-harmony-hdk-linux-x86.tar.gz">
-        <isset property="is.windows" />
+               value="latest-harmony-hdk-windows-x86_64.zip">
+        <and>
+            <isset property="is.windows" />
+            <isset property="is.x86_64" />
+        </and>
+    </condition>
+    <!-- Windows x86 -->
+    <condition property="snapshot.file"
+               value="latest-harmony-hdk-windows-x86.zip">
+        <and>
+            <isset property="is.windows" />
+            <not>
+                <isset property="is.x86_64" />
+            </not>
+        </and>
+    </condition>
+    <!-- Linux x86_64 -->
+    <condition property="snapshot.file"
+               value="latest-harmony-hdk-linux-x86_64.tar.gz">
+        <and>
+            <not>
+                <isset property="is.windows" />
+            </not>
+            <isset property="is.x86_64" />
+        </and>
     </condition>
+    <!-- Linux x86 by default -->
+    <property name="snapshot.file" value="latest-harmony-hdk-linux-x86.tar.gz" />
 
     <target name="setup" depends="download.snapshot" />
 



Mime
View raw message