Jigsaw forest now includes JDK 7 M5

Mark Reinhold mr at sun.com
Wed Nov 11 10:09:10 PST 2009


If perchance you want to do a boot-cycle build, be sure to apply the
attached patch to the jaxws repo first.

- Mark

--

diff --git a/build.properties b/build.properties
--- a/build.properties
+++ b/build.properties
@@ -34,6 +34,9 @@
 # one of the standard user build.properties files (see build.xml)
 javac.jar=${bootstrap.dir}/lib/javac.jar
 
+# jaxws needs tools.jar too, for the old com.sun.mirror (APT) API
+tools.jar=${java.home}/../lib/tools.jar
+
 # options for the <javac> tasks used to compile the tools
 javac.source = 7
 javac.target = 7
diff --git a/build.xml b/build.xml
--- a/build.xml
+++ b/build.xml
@@ -108,6 +108,8 @@
 	    depends="init, -init-src-dirs, -build-prep">
         <javac fork="true"
              destdir="${build.classes.dir}"
+             includeAntRuntime="false"
+             classpath="${build.classes.dir}:${tools.jar}"
              memoryInitialSize="${javac.memoryInitialSize}"
              memoryMaximumSize="${javac.memoryMaximumSize}"
              source="${javac.source}"



More information about the jigsaw-dev mailing list