diff options
author | sg215889 <[email protected]> | 2009-07-13 02:12:16 -0700 |
---|---|---|
committer | sg215889 <[email protected]> | 2009-07-13 02:12:16 -0700 |
commit | a29817b54313d481abd6a594262159a589ce743b (patch) | |
tree | 6baabfbf1dbb0352d670493aeff5acee2d73490c /cvm-run-newt.sh | |
parent | 12a185ccdf8c306c7cbdcafb9a0364cd9d1a4354 (diff) |
Add CDC/CVM support ..
Diffstat (limited to 'cvm-run-newt.sh')
-rwxr-xr-x | cvm-run-newt.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cvm-run-newt.sh b/cvm-run-newt.sh new file mode 100755 index 0000000..61615da --- /dev/null +++ b/cvm-run-newt.sh @@ -0,0 +1,18 @@ +#! /bin/sh + +CVM=$1 +shift + +JOGL_LIB_DIR=$1 +shift + +BUILD_SUBDIR=$1 +shift + +if [ ! -x "$CVM" -o -z "$JOGL_LIB_DIR" -o -z "$BUILD_SUBDIR" ] ; then + echo Usage $0 CVM-Binary JOGL_LIB_DIR BUILD_SUB_PATH + echo e.g. $0 ../CVM/bin/cvm ../jogl/build-cdcfp-x86/lib build-cdcfp-x86 + exit 1 +fi + +$CVM -Djava.awt.headless=true -Dsun.boot.library.path=$JOGL_LIB_DIR -Xbootclasspath/a:../gluegen/$BUILD_SUBDIR/gluegen-rt.jar -Xbootclasspath/a:../jogl/$BUILD_SUBDIR/nativewindow/nativewindow.core.jar -Xbootclasspath/a:../jogl/$BUILD_SUBDIR/jogl/jogl.cdcfp.jar -Xbootclasspath/a:../jogl/$BUILD_SUBDIR/newt/newt.cdcfp.jar -Xbootclasspath/a:$BUILD_SUBDIR/jogl-demos.jar com.sun.javafx.newt.util.MainThread $* 2>&1 | tee cvm-dbg-newt.log |