harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r597436 - /harmony/enhanced/drlvm/trunk/build/make/build.xml
Date Thu, 22 Nov 2007 15:34:38 GMT
Author: tellison
Date: Thu Nov 22 07:34:38 2007
New Revision: 597436

URL: http://svn.apache.org/viewvc?rev=597436&view=rev
Log:
Apply patch HARMONY-5165 ([build][drlvm] Post-build relocation for Harmony)

Modified:
    harmony/enhanced/drlvm/trunk/build/make/build.xml

Modified: harmony/enhanced/drlvm/trunk/build/make/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/build.xml?rev=597436&r1=597435&r2=597436&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/build.xml (original)
+++ harmony/enhanced/drlvm/trunk/build/make/build.xml Thu Nov 22 07:34:38 2007
@@ -473,7 +473,7 @@
     <!-- Main target for building components -->
     <target name="build" depends="setup, init, set.target.to.build,
                                     process.components, fill.up.deploy,
-                                    deploy.canonical" />
+                                    deploy.canonical, deploy.relocate" />
 
     <target name="set.target.to.build">
         <property name="target" value="build" />
@@ -695,6 +695,30 @@
                 <include name="*.so.*" />
             </fileset>
         </chmod>
+    </target>
+
+    <!-- ==================================================================
+        relocate build for Windows
+      ================================================================== -->
+    <target name="deploy.relocate" if="is.windows">
+        <fileset dir="${build.deploy.dir}/jdk/jre/bin/" id="relocate.files">
+            <include name="**/*.dll" />
+        </fileset>
+
+        <pathconvert pathsep=" " property="relocate.files.all" refid="relocate.files"
/>
+
+        <exec executable="editbin">
+            <arg value="/LARGEADDRESSAWARE" />
+            <arg value="/BIND" />
+            <arg value="${build.deploy.dir}/jdk/jre/bin/java.exe" />
+        </exec>
+
+        <exec executable="editbin">
+            <arg value="/LARGEADDRESSAWARE" />
+            <arg value="/BIND" />
+            <arg value="/rebase:base=0x500000" />
+            <arg line="${relocate.files.all}" />
+        </exec>
     </target>
 
     <target name="deploy.antlr">



Mime
View raw message