diff options
author | Sven Gothel <[email protected]> | 2009-07-01 07:34:59 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-07-01 07:34:59 +0000 |
commit | dbf66ad9e297d208029d6bb5e06f8b0f0c847d57 (patch) | |
tree | 49597ff70e76440c337ce16ecce4f48cec66ffe8 /java-run.sh | |
parent | d075bda489c425d7f1ccd45944db6a8696bb0fd2 (diff) |
Sync with jogl r2009 ; Unified setenv-jogl.sh, which works from the autobuild directory as well ; Unified java*.sh scripts
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@358 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'java-run.sh')
-rw-r--r-- | java-run.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/java-run.sh b/java-run.sh new file mode 100644 index 0000000..9108f2e --- /dev/null +++ b/java-run.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +CPOK=0 +echo $CLASSPATH | grep jogl && CPOK=1 + +if [ $CPOK -eq 0 ] ; then + # Only valid for autobuild .. otherwise run manually with build-dir + . ./setenv-jogl.sh JOGL_ALL + echo $CLASSPATH | grep jogl && CPOK=1 +fi +if [ $CPOK -eq 0 ] ; then + echo No JOGL in CLASSPATH +else + java $* 2>&1 | tee java-run.log +fi + |