From 44fb857877660862f073c783c1879229d69999f2 Mon Sep 17 00:00:00 2001 From: Sean Mac Gillicuddy Date: Thu, 19 Dec 2019 15:43:08 +0000 Subject: [PATCH] Make prominent warning about JDK8 --- team-props/git-hooks/pre-commit.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/team-props/git-hooks/pre-commit.sh b/team-props/git-hooks/pre-commit.sh index ae77f216e..9100145a4 100644 --- a/team-props/git-hooks/pre-commit.sh +++ b/team-props/git-hooks/pre-commit.sh @@ -12,6 +12,11 @@ if [ "$status" = 0 ] ; then else ./gradlew ktlintFormat --daemon echo 1>&2 "Static analysis found violations and attempted to autofix, please commit these autoformat changes" - echo "If the build failed for another reason please make sure JAVA_HOME is set to JDK8" + echo " + ---------------------------IMPORTANT FOR KIWIX DEVELOPERS---------------------------------------------- + If the build failed with '.../.gradle/daemon/5.6.1/custom/scr/customexample/info.json No File Found' then you do not have JAVA_HOME set to JDK8 + Please make sure JAVA_HOME is set to JDK8 + ---------------------------IMPORTANT FOR KIWIX DEVELOPERS----------------------------------------------" + exit 1 fi