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/05/27 12:15:33 UTC

svn commit: r948753 - /harmony/enhanced/java/trunk/build.xml

Author: hindessm
Date: Thu May 27 10:15:33 2010
New Revision: 948753

URL: http://svn.apache.org/viewvc?rev=948753&view=rev
Log:
Add -select to the names of artefacts and directories if -Dhy.select=true.

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=948753&r1=948752&r2=948753&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/build.xml (original)
+++ harmony/enhanced/java/trunk/build.xml Thu May 27 10:15:33 2010
@@ -733,15 +733,20 @@ Usage:
         </condition>
         <property name="harmony.arch" value="${os.arch}" />
 
+        <condition property="version.prefix" value="select-">
+            <istrue value="${hy.select}" />
+        </condition>
+        <property name="version.prefix" value="" />
+
         <property name="harmony.deploy.suffix" value="-snapshot" />
 
         <property name="harmony.java.version" value="5.0" />
 
         <property name="deploy.file.prefix"
-                  value="apache-harmony-${harmony.java.version}-" />
+            value="apache-harmony-${version.prefix}${harmony.java.version}-" />
 
         <property name="archive.dir.prefix"
-                  value="harmony-${harmony.java.version}-" />
+            value="harmony-${version.prefix}${harmony.java.version}-" />
 
         <property name="deploy.hdk.file.prefix"
                  value="${deploy.file.prefix}hdk-r${harmony.version}" />