Mercurial > hg > openjdk > icedtea > jdk7 > jaxws
changeset 127:85d8e6e69be0
Merge
author | andrew |
---|---|
date | Fri, 04 Dec 2009 15:35:01 +0000 |
parents | 45259ce29d39 (current diff) 5b4968c11047 (diff) |
children | 4ca731fe3154 |
files | .hgtags build.properties make/Makefile |
diffstat | 4 files changed, 12 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgtags Wed Nov 18 18:07:31 2009 +0000 +++ b/.hgtags Fri Dec 04 15:35:01 2009 +0000 @@ -51,3 +51,4 @@ f4466e1b608088c90e11beaa4b600f102608c6a1 jdk7-b74 fcf2b8b5d606641659419f247fcee4b284c45e6e jdk7-b75 0dc08d528c998ca993e759b311e7b54c98e0ef28 icedtea7-1.12 +765d2077d1e652e234d27fe85ba58a986b488503 jdk7-b76
--- a/build.properties Wed Nov 18 18:07:31 2009 +0000 +++ b/build.properties Fri Dec 04 15:35:01 2009 +0000 @@ -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 Wed Nov 18 18:07:31 2009 +0000 +++ b/build.xml Fri Dec 04 15:35:01 2009 +0000 @@ -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 Wed Nov 18 18:07:31 2009 +0000 +++ b/make/Makefile Fri Dec 04 15:35:01 2009 +0000 @@ -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