diff --git a/langtools/make/build.xml b/langtools/make/build.xml index b15e779e395..7e2041acb55 100644 --- a/langtools/make/build.xml +++ b/langtools/make/build.xml @@ -621,7 +621,7 @@ @@ -813,7 +813,8 @@ executable="${boot.java.home}/bin/javac" srcdir="${make.tools.dir}/CompileProperties" destdir="${build.toolclasses.dir}/" - classpath="${ant.home}/lib/ant.jar"/> + classpath="${ant.core.lib}" + includeantruntime="false"/> @@ -827,7 +828,8 @@ executable="${boot.java.home}/bin/javac" srcdir="${make.tools.dir}/GenStubs" destdir="${build.toolclasses.dir}/" - classpath="${build.bootstrap.dir}/classes:${ant.home}/lib/ant.jar"/> + classpath="${build.bootstrap.dir}/classes:${ant.core.lib}" + includeantruntime="false"/>