changeset 122:f1a7bd97137a

Merge from main OpenJDK repository
author Greg Lewis <glewis@eyesbeyond.com>
date Sun, 20 Dec 2009 19:50:05 -0800
parents 6aaa7973dabc c08894f5b6e5
children bd96b254560d
files
diffstat 5 files changed, 14 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Fri Nov 13 00:09:17 2009 -0800
+++ b/.hgignore	Sun Dec 20 19:50:05 2009 -0800
@@ -3,4 +3,4 @@
 ^drop/
 ^drop_included/
 ^webrev/
-^nbproject/private/
+/nbproject/private/
--- a/.hgtags	Fri Nov 13 00:09:17 2009 -0800
+++ b/.hgtags	Sun Dec 20 19:50:05 2009 -0800
@@ -51,3 +51,5 @@
 f4466e1b608088c90e11beaa4b600f102608c6a1 jdk7-b74
 fcf2b8b5d606641659419f247fcee4b284c45e6e jdk7-b75
 765d2077d1e652e234d27fe85ba58a986b488503 jdk7-b76
+5b4968c110476085225d3a71c4210fad2c1116c1 jdk7-b77
+fc1c72d1dfbb17db7d46bba8db9afc39cbbb9299 jdk7-b78
--- a/build.properties	Fri Nov 13 00:09:17 2009 -0800
+++ b/build.properties	Sun Dec 20 19:50:05 2009 -0800
@@ -34,6 +34,10 @@
 # one of the standard user build.properties files (see build.xml)
 javac.jar=${bootstrap.dir}/lib/javac.jar
 
+# The tools.jar is needed in the classpath to compile these sources
+jdk.home=${java.home}/..
+tools.jar=${jdk.home}/lib/tools.jar
+
 # options for the <javac> tasks used to compile the tools
 javac.source = 7
 javac.target = 7
--- a/build.xml	Fri Nov 13 00:09:17 2009 -0800
+++ b/build.xml	Sun Dec 20 19:50:05 2009 -0800
@@ -113,7 +113,10 @@
     <!-- Build (compilation) of sources to class files. -->
     <target name="build"
 	    depends="init, -init-src-dirs, -build-prep">
-        <javac fork="true"
+        <javac 
+	     includeAntRuntime="false" 
+	     classpath="${build.classes.dir}:${tools.jar}"
+	     fork="true"
              destdir="${build.classes.dir}"
              memoryInitialSize="${javac.memoryInitialSize}"
              memoryMaximumSize="${javac.memoryMaximumSize}"
--- a/make/Makefile	Fri Nov 13 00:09:17 2009 -0800
+++ b/make/Makefile	Sun Dec 20 19:50:05 2009 -0800
@@ -113,11 +113,13 @@
 ifdef ALT_LANGTOOLS_DIST
   ifdef ALT_BOOTDIR
     ANT_JAVA_HOME = JAVA_HOME=$(ALT_BOOTDIR)
+    ANT_OPTIONS += -Djdk.home=$(ALT_BOOTDIR)
   endif
   ANT_OPTIONS += -Dbootstrap.dir=$(ALT_LANGTOOLS_DIST)/bootstrap
 else
   ifdef ALT_JDK_IMPORT_PATH
     ANT_JAVA_HOME = JAVA_HOME=$(ALT_JDK_IMPORT_PATH)
+    ANT_OPTIONS += -Djdk.home=$(ALT_JDK_IMPORT_PATH)
   endif
 endif
 
@@ -141,7 +143,7 @@
 
 # Create a make target for each
 $(ANT_TARGETS):
-	cd .. && $(ANT_JAVA_HOME) $(ANT) -version
+	cd .. && $(ANT_JAVA_HOME) $(ANT) $(ANT_OPTIONS) -version
 	cd .. && $(ANT_JAVA_HOME) $(ANT) $(ANT_OPTIONS) $@
 
 # Help target