diff --git a/checker/bin/wpi.sh b/checker/bin/wpi.sh index 90c896e070b..174e9a47c67 100755 --- a/checker/bin/wpi.sh +++ b/checker/bin/wpi.sh @@ -331,6 +331,9 @@ stdout is in $dljc_stdout" if [ "${DLJC}" = "" ]; then # The user did not set the DLJC environment variable. DLJC="${SCRIPTDIR}/.do-like-javac/dljc" + if [ ! -f "${DLJC}" ]; then + (cd "$SCRIPTDIR"/../.. && ./gradlew getDoLikeJavac) + fi else # The user did set the DLJC environment variable. if [ ! -f "${DLJC}" ]; then @@ -338,6 +341,9 @@ else exit 1 fi fi +if [ ! -f "$SCRIPTDIR/../dist/checker.jar" ] ; then + (cd "$SCRIPTDIR"/../.. && ./gradlew assembleForJavac) +fi #### Main script