aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-02-22 08:51:09 +0100
committerSven Gothel <[email protected]>2011-02-22 08:51:09 +0100
commit4a43734dc09b56e418ca5036f54c856555ac2920 (patch)
tree0d705db697bd34e1f13e8d8d420075769e52d687 /etc
parent8178e39d4a65f7cae779c7fde2fd846585aed201 (diff)
NativeWindow/SWT: Rename SWTMisc -> SWTAccessor; Add to nativewindow.core.jar
Diffstat (limited to 'etc')
-rwxr-xr-xetc/profile.jogl30
1 files changed, 16 insertions, 14 deletions
diff --git a/etc/profile.jogl b/etc/profile.jogl
index ecf4fe35d..dec12969c 100755
--- a/etc/profile.jogl
+++ b/etc/profile.jogl
@@ -148,22 +148,24 @@ if [ "$KERNEL" = "linux" ] ; then
elif [ "$KERNEL" = "darwin" ] ; then
SWT_SUB="cocoa"
fi
-SWT_CLASSPATH_0=$JOGL_BUILD_DIR/../make/lib/swt/$SWT_SUB-$KERNEL-$ARCH/swt-debug.jar
-SWT_CLASSPATH_1=$HOME/.java/swt.jar
-if [ ! -e "$SWT_CLASSPATH_0" ] ; then
- echo Info: NO JOGL SWT $SWT_CLASSPATH_0
- if [ ! -e "$SWT_CLASSPATH_1" ] ; then
- echo Info: NO Users SWT $SWT_CLASSPATH_1
+if [ -z "$SWT_CLASSPATH" ] ; then
+ SWT_CLASSPATH_0=$JOGL_BUILD_DIR/../make/lib/swt/$SWT_SUB-$KERNEL-$ARCH/swt-debug.jar
+ SWT_CLASSPATH_1=$HOME/.java/swt.jar
+ if [ ! -e "$SWT_CLASSPATH_0" ] ; then
+ echo Info: NO JOGL SWT $SWT_CLASSPATH_0
+ if [ ! -e "$SWT_CLASSPATH_1" ] ; then
+ echo Info: NO Users SWT $SWT_CLASSPATH_1
+ else
+ export SWT_CLASSPATH=$SWT_CLASSPATH_1
+ echo Info: Using Users SWT $SWT_CLASSPATH
+ fi
else
- export SWT_CLASSPATH=$SWT_CLASSPATH_1
- echo Info: Using Users SWT $SWT_CLASSPATH
+ export SWT_CLASSPATH=$SWT_CLASSPATH_0
+ echo Info: Using JOGL SWT $SWT_CLASSPATH
+ fi
+ if [ ! -z "$SWT_CLASSPATH" ] ; then
+ export SWT_CLASSPATH
fi
-else
- export SWT_CLASSPATH=$SWT_CLASSPATH_0
- echo Info: Using JOGL SWT $SWT_CLASSPATH
-fi
-if [ ! -z "$SWT_CLASSPATH" ] ; then
- export SWT_CLASSPATH
fi
if [ -z "$JOGL_CLASSPATH" ] ; then