This is an automated email from the ASF dual-hosted git repository. jaikiran pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ant.git
The following commit(s) were added to refs/heads/master by this push: new 56ce7f8 create the Java 8 install dir in the build directory 56ce7f8 is described below commit 56ce7f8432a1c6be766d71ed1d628c874e24165a Author: Jaikiran Pai <jaiki...@apache.org> AuthorDate: Mon Aug 26 15:56:46 2019 +0530 create the Java 8 install dir in the build directory --- test-compatibility.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test-compatibility.sh b/test-compatibility.sh index 4f5d18a..ead8878 100755 --- a/test-compatibility.sh +++ b/test-compatibility.sh @@ -42,15 +42,15 @@ ant -f fetch.xml -Ddest=optional # This will ensure that Ant built with different (higher) version of Ant # can be used by Java 8 runtime and can function properly for all Ant # functionality -mkdir java-8-latest -cd java-8-latest +mkdir -p build/java-8-latest +cd build/java-8-latest # Download latest Java 8 (we use Adopt OpenJDK binaries) wget https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u222b10.tar.gz tar -zxf ./*.tar.gz # set JAVA_HOME to point to the newly extracted tar's content export JAVA_HOME="`echo \`pwd\`/\`echo */\``" export PATH="${JAVA_HOME}"/bin:$PATH -cd .. +cd ../.. echo "Using \"${JAVA_HOME}\" to run Ant tests" java -version