harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r941490 - /harmony/enhanced/java/branches/mrh/ibm-v4/build.xml
Date Wed, 05 May 2010 21:08:18 GMT
Author: hindessm
Date: Wed May  5 21:08:17 2010
New Revision: 941490

URL: http://svn.apache.org/viewvc?rev=941490&view=rev
Log:
Fix ibm-v4 build.

Modified:
    harmony/enhanced/java/branches/mrh/ibm-v4/build.xml

Modified: harmony/enhanced/java/branches/mrh/ibm-v4/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/mrh/ibm-v4/build.xml?rev=941490&r1=941489&r2=941490&view=diff
==============================================================================
--- harmony/enhanced/java/branches/mrh/ibm-v4/build.xml (original)
+++ harmony/enhanced/java/branches/mrh/ibm-v4/build.xml Wed May  5 21:08:17 2010
@@ -21,6 +21,12 @@
         Layout IBM VME in the required format 
     </description>
 
+    <fail message="Property 'hy.hdk' is not defined">
+        <condition>
+            <not><isset property="hy.hdk" /></not>
+        </condition>
+    </fail>
+
     <!-- set the path root for the external resources  -->
     <property name="common.resources" value="../common_resources" />
     <fail>
@@ -38,8 +44,8 @@
     <property name="ibm.vme.dir" value="${hy.os}-${hy.arch}.vme" />
 
     <target name="build">
-        <mkdir dir="deploy/jdk" />
-        <copy todir="deploy/jdk">
+        <mkdir dir="${hy.hdk}/jdk" />
+        <copy todir="${hy.hdk}/jdk">
             <fileset dir="${ibm.vme.dir}" />
         </copy>
     </target>
@@ -47,7 +53,11 @@
     <target name="fetch-depends" />
 
     <target name="clean">
-        <delete dir="deploy" failonerror="false" />
+        <delete failonerror="false">
+            <fileset dir="${hy.hdk}/jdk">
+                <present targetdir="${ibm.vme.dir}"/>
+            </fileset>
+        </delete>
     </target>
 
 </project>



Mime
View raw message