Mercurial > hg > openjdk > jdk6 > jaxp
changeset 39:5df1daaa67c8 jdk6-b18
Merge
author | ohair |
---|---|
date | Thu, 28 Jan 2010 17:10:39 -0800 |
parents | f23bb60a908d (current diff) 8b21e89836b5 (diff) |
children | c06186dcb907 |
files | |
diffstat | 3 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/build.properties Thu Jan 28 17:08:07 2010 -0800 +++ b/build.properties Thu Jan 28 17:10:39 2010 -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 = 5 javac.target = 5
--- a/build.xml Thu Jan 28 17:08:07 2010 -0800 +++ b/build.xml Thu Jan 28 17:10:39 2010 -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}" + fork="true" destdir="${build.classes.dir}" memoryInitialSize="${javac.memoryInitialSize}" memoryMaximumSize="${javac.memoryMaximumSize}"
--- a/make/Makefile Thu Jan 28 17:08:07 2010 -0800 +++ b/make/Makefile Thu Jan 28 17:10:39 2010 -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