Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2009-06-08 19:01:11 +0400
committerjfrijters <jfrijters>2009-06-08 19:01:11 +0400
commitd18a4b2bf2ec0ba67245e119bac06ee4edf58656 (patch)
treeaf64c1ec2f4ec24a1c18ab633ad7b11ae6197391 /openjdk/openjdk.build
parent28b87d38aa0e853645bffd27477999ad2380032f (diff)
Added rmi stub generation to build process, instead of relying on .class files in stripped zip.
Diffstat (limited to 'openjdk/openjdk.build')
-rw-r--r--openjdk/openjdk.build30
1 files changed, 24 insertions, 6 deletions
diff --git a/openjdk/openjdk.build b/openjdk/openjdk.build
index e5c41429..64306cc7 100644
--- a/openjdk/openjdk.build
+++ b/openjdk/openjdk.build
@@ -7,7 +7,7 @@
<property name="pathsep" value=";" />
</if>
- <target name="all" depends="classes vfs resources core">
+ <target name="all" depends="classes rmi vfs resources core">
</target>
<target name="classes">
@@ -18,11 +18,7 @@
</delete>
<delete>
<fileset basedir="${OpenJDK.dir}">
- <include name="jdk/src/share/classes/**.class"/>
- <include name="jdk/src/solaris/classes/**.class"/>
- <include name="jdk/src/windows/classes/**.class"/>
- <include name="build/linux-amd64/gensrc/**.class"/>
- <include name="build/linux-amd64/impsrc/**.class"/>
+ <include name="**.class"/>
</fileset>
</delete>
<delete>
@@ -52,6 +48,28 @@
<exec program="javac" commandline="-J-Xmx1536M -g -nowarn -bootclasspath ../classpath/mscorlib.jar${pathsep}../classpath/System.jar${pathsep}../classpath/System.Core.jar${pathsep}../classpath/System.Data.jar${pathsep}../classpath/System.Drawing.jar${pathsep}../classpath/IKVM.Runtime.jar @allsources.lst" useruntimeengine="false" />
</target>
+ <target name="rmi">
+ <property name="VMARGS" value="-J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m" />
+ <property name="CLASSPATH" value="${OpenJDK.dir}/jdk/src/share/classes/${pathsep}${OpenJDK.dir}/build/linux-amd64/impsrc/${pathsep}." />
+ <property name="OUTPUT" value="${OpenJDK.dir}/build/linux-amd64/classes/" />
+ <property name="ARGS" value="${VMARGS} -bootclasspath ${CLASSPATH} -d ${OUTPUT}" />
+ <exec program="rmic" commandline="${ARGS} -v1.1 sun.rmi.registry.RegistryImpl" />
+ <exec program="rmic" commandline="${ARGS} -v1.1 sun.rmi.transport.DGCImpl" />
+ <exec program="rmic" commandline="${ARGS} -v1.2 sun.rmi.server.Activation$ActivationSystemImpl" />
+ <exec program="rmic" commandline="${ARGS} -v1.2 java.rmi.activation.ActivationGroup" />
+ <exec program="rmic" commandline="${ARGS} -v1.2 com.sun.jndi.rmi.registry.ReferenceWrapper" />
+ <exec program="rmic" commandline="${ARGS} -v1.2 javax.management.remote.rmi.RMIConnectionImpl" />
+ <exec program="rmic" commandline="${ARGS} -v1.2 -iiop javax.management.remote.rmi.RMIConnectionImpl" />
+ <exec program="rmic" commandline="${ARGS} -v1.2 -iiop -standardPackage javax.management.remote.rmi.RMIConnectionImpl" />
+ <exec program="rmic" commandline="${ARGS} -v1.2 javax.management.remote.rmi.RMIServerImpl" />
+ <exec program="rmic" commandline="${ARGS} -v1.2 -iiop javax.management.remote.rmi.RMIServerImpl" />
+ <exec program="rmic" commandline="${ARGS} -v1.2 -iiop -standardPackage javax.management.remote.rmi.RMIServerImpl" />
+ <exec program="rmic" commandline="${ARGS} -iiop javax.management.remote.rmi.RMIConnection" />
+ <exec program="rmic" commandline="${ARGS} -iiop -standardPackage javax.management.remote.rmi.RMIConnection" />
+ <exec program="rmic" commandline="${ARGS} -iiop javax.management.remote.rmi.RMIServer" />
+ <exec program="rmic" commandline="${ARGS} -iiop -standardPackage javax.management.remote.rmi.RMIServer" />
+ </target>
+
<target name="vfs">
<!-- This file is generated here, but it is added as a resource to IKVM.Runtime.dll, because Ref.Emit on .NET 1.1 doesn't support adding a raw resource. -->
<zip zipfile="vfs.zip">