From 8867722e28fce9e8d519fbf4e2a0c1725568706a Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 22 Jan 2012 19:51:54 +0100 Subject: Add verification script for compiled-in Java version; Add osx 32bit test script. --- make/scripts/check-java-major-version.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 make/scripts/check-java-major-version.sh (limited to 'make/scripts/check-java-major-version.sh') diff --git a/make/scripts/check-java-major-version.sh b/make/scripts/check-java-major-version.sh new file mode 100755 index 000000000..08e3bc7b5 --- /dev/null +++ b/make/scripts/check-java-major-version.sh @@ -0,0 +1,27 @@ +#! /bin/bash + +TDIR=`pwd` + +function dump_version() { + echo -n "$1: " + javap -v $1 | grep 'major version' +} + +function dump_versions() { + cd $1 + #dump_version jogamp.common.Debug + for i in `find . -name '*.class'` ; do + dump_version `echo $i | sed -e 's/\//./g' -e 's/\.class//g'` + done + cd $TDIR +} + +function do_it() { + dump_versions $1/nativewindow/classes + dump_versions $1/jogl/classes + dump_versions $1/newt/classes + dump_versions $1/test/build/classes +} + +do_it $1 2>&1 | tee check-java-major-version.log + -- cgit v1.2.3