harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r950898 - /harmony/enhanced/java/trunk/build.xml
Date Thu, 03 Jun 2010 07:28:47 GMT
Author: hindessm
Date: Thu Jun  3 07:28:47 2010
New Revision: 950898

URL: http://svn.apache.org/viewvc?rev=950898&view=rev
Log:
Add vm.dir to the artefact names if it isn't drlvm.

Modified:
    harmony/enhanced/java/trunk/build.xml

Modified: harmony/enhanced/java/trunk/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/build.xml?rev=950898&r1=950897&r2=950898&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/build.xml (original)
+++ harmony/enhanced/java/trunk/build.xml Thu Jun  3 07:28:47 2010
@@ -684,15 +684,20 @@ Usage:
         </condition>
         <property name="version.prefix" value="" />
 
+        <condition property="vm.prefix" value="">
+            <equals arg1="drlvm" arg2="${vm.dir}" />
+        </condition>
+        <property name="vm.prefix" value="${vm.dir}-" />
+
         <property name="harmony.deploy.suffix" value="-snapshot" />
 
         <property name="harmony.java.version" value="5.0" />
 
         <property name="deploy.file.prefix"
-            value="apache-harmony-${version.prefix}${harmony.java.version}-" />
+            value="apache-harmony-${version.prefix}${harmony.java.version}-${vm.prefix}"
/>
 
         <property name="archive.dir.prefix"
-            value="harmony-${version.prefix}${harmony.java.version}-" />
+            value="harmony-${version.prefix}${harmony.java.version}-${vm.prefix}" />
 
         <property name="deploy.hdk.file.prefix"
                  value="${deploy.file.prefix}hdk-r${harmony.version}" />
@@ -747,6 +752,8 @@ Usage:
             build mode       :  ${hy.cfg}
             output location  :  ${target.dir}
             SVN root         :  ${svn.root}
+            archive.dir      :  ${archive.dir.prefix}
+            archive.name     :  ${deploy.file.prefix}
         </echo>
     </target>
 



Mime
View raw message