Files

13 lines
522 B
Bash
Executable File

# Shared settings. Override with: export JDK8=/path/to/jdk8 JDK25=/path/to/jdk-25
set -u
ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
JDK8=${JDK8:?set JDK8 to a JDK 8 home}
JDK25=${JDK25:?set JDK25 to a JDK 25 home}
OUT=$ROOT/output
WORK=$ROOT/build
mkdir -p "$OUT" "$WORK"
unset _JAVA_OPTIONS
export LANG=C LC_ALL=C
# Strip launcher banners about environment options, and machine paths, from transcripts.
clean() { grep -v -e '^Picked up ' | sed -e "s#$ROOT#.#g" -e "s#$JDK8#\$JDK8#g" -e "s#$JDK25#\$JDK25#g"; }