Skip to content

Commit ab7a6ea

Browse files
author
Vladimir Kotal
committed
cleanup Windows
1 parent ec00f03 commit ab7a6ea

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

dev/main

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,4 @@ if [[ "x$TRAVIS_REPO_SLUG" == "xoracle/opengrok" && "x$TRAVIS_BRANCH" == "xmaste
1919
fi
2020
fi
2121

22-
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
23-
JAVA_BASE="/c/Program Files/OpenJDK"
24-
JDK_DIR=$(find "$JAVA_BASE/" -type d -name '*jdk*' -maxdepth 1 | head -1)
25-
export JAVA_HOME=${JAVA_HOME:-$JDK_DIR}
26-
echo "JAVA_HOME set to $JAVA_HOME"
27-
export PATH=${JAVA_HOME}/bin:${PATH}
28-
29-
export PATH=${PATH}:/c/ProgramData/chocolatey/lib/universal-ctags/tools
30-
export PATH=${PATH}:/c/Program\ Files\ \(x86\)/Subversion/bin
31-
export PATH=${PATH}:${JAVA_HOME}
32-
33-
PYTHON_PATH="/c/Python39"
34-
if [[ ! -d $PYTHON_PATH ]]; then
35-
>&2 echo "Not a directory: $PYTHON_PATH"
36-
exit 1
37-
fi
38-
# needs to be before the default Python 2
39-
export PATH=${PYTHON_PATH}:${PATH}
40-
41-
extra_args="$extra_args -Dorg.opengrok.indexer.analysis.Ctags=c:\\ProgramData\\chocolatey\\lib\\universal-ctags\\tools\\ctags.exe"
42-
fi
43-
4422
./mvnw -B -V verify $extra_args

0 commit comments

Comments
 (0)