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>2010-02-19 17:31:14 +0300
committerjfrijters <jfrijters>2010-02-19 17:31:14 +0300
commitaa8481692fe6ed520cc5b05483f43325ce528361 (patch)
tree4cdfe70a56a2799c235563207de3c566272ddc05 /openjdk/openjdk.build
parent90761eac3b60d4757b8b295736a88386913bdab6 (diff)
Removed ../../openjdk6-b16 path from response files.
Diffstat (limited to 'openjdk/openjdk.build')
-rw-r--r--openjdk/openjdk.build30
1 files changed, 25 insertions, 5 deletions
diff --git a/openjdk/openjdk.build b/openjdk/openjdk.build
index 0793cbce..586377ad 100644
--- a/openjdk/openjdk.build
+++ b/openjdk/openjdk.build
@@ -15,7 +15,17 @@
<property name="OPENJDK_VERSION" value="OpenJDK 6 b16" />
</target>
- <target name="classes" depends="version">
+ <target name="allsources.gen.lst">
+ <copy file="allsources.lst" tofile="allsources.gen.lst" outputencoding="ascii" overwrite="true">
+ <filterchain>
+ <replacetokens>
+ <token key="OPENJDK" value="${OpenJDK.dir}" />
+ </replacetokens>
+ </filterchain>
+ </copy>
+ </target>
+
+ <target name="classes" depends="version allsources.gen.lst">
<delete>
<fileset basedir="../classpath">
<include name="**.class"/>
@@ -64,7 +74,7 @@
</replacetokens>
</filterchain>
</copy>
- <exec program="javac" commandline="-J-Xmx1536M -g -nowarn -bootclasspath mscorlib.jar${pathsep}System.jar${pathsep}System.Core.jar${pathsep}System.Data.jar${pathsep}System.Drawing.jar${pathsep}IKVM.Runtime.jar @allsources.lst" useruntimeengine="false" />
+ <exec program="javac" commandline="-J-Xmx1536M -g -nowarn -bootclasspath mscorlib.jar${pathsep}System.jar${pathsep}System.Core.jar${pathsep}System.Data.jar${pathsep}System.Drawing.jar${pathsep}IKVM.Runtime.jar @allsources.gen.lst" useruntimeengine="false" />
</target>
<target name="rmi">
@@ -110,7 +120,7 @@
</target>
<target name="resources">
- <!-- resources that are not in ../../openjdk6-b16/build/linux-amd64/j2re-image/lib/resources.jar -->
+ <!-- resources that are not in @OPENJDK@/build/linux-amd64/j2re-image/lib/resources.jar -->
<zip zipfile="resources.zip">
<fileset basedir="${OpenJDK.dir}/jdk/src/share/classes">
<include name="com/sun/swing/internal/plaf/**/*" />
@@ -118,7 +128,17 @@
</zip>
</target>
- <target name="core" depends="version">
+ <target name="response.gen.txt">
+ <copy file="response.txt" tofile="response.gen.txt" outputencoding="ascii" overwrite="true">
+ <filterchain>
+ <replacetokens>
+ <token key="OPENJDK" value="${OpenJDK.dir}" />
+ </replacetokens>
+ </filterchain>
+ </copy>
+ </target>
+
+ <target name="core" depends="version response.gen.txt">
<exec program="${project::get-base-directory()}/../bin/ikvmc.exe" useruntimeengine="true">
<arg value="-version:${VERSION}" />
<arg value="${signoption}" />
@@ -134,7 +154,7 @@
<arg value="-r:IKVM.Runtime" />
<!-- we already know that the JNI assembly is not available, so suppress the warning -->
<arg value="-nowarn:110" />
- <arg value="@response.txt" />
+ <arg value="@response.gen.txt" />
</exec>
<if test="${platform::is-win32()}">
<copy file="../bin/IKVM.Runtime.dll" tofile="IKVM.Runtime.dll" />