|
From: <tre...@us...> - 2007-11-17 16:36:15
|
Revision: 586
http://ogoglio.svn.sourceforge.net/ogoglio/?rev=586&view=rev
Author: trevorolio
Date: 2007-11-17 08:36:17 -0800 (Sat, 17 Nov 2007)
Log Message:
-----------
Tweaked the Java3D setup to fall back to aliased, single buffered if the graphics board doesn't support it, which makes us run on lesser machines and also on the Parallels emulator on OS X Intel machines, making life much easier for Macish developers who want to maintain support WinIE.
Used this fact to fix IE+Java quirks (e.g. no String[] passing over liveconnect) so that the majority of browser installations can once again use Ogoglio.
Added Paths:
-----------
maven/trunk/ogoglio/src/main/resources/scripts/profileViewerApplet.sh
Added: maven/trunk/ogoglio/src/main/resources/scripts/profileViewerApplet.sh
===================================================================
--- maven/trunk/ogoglio/src/main/resources/scripts/profileViewerApplet.sh (rev 0)
+++ maven/trunk/ogoglio/src/main/resources/scripts/profileViewerApplet.sh 2007-11-17 16:36:17 UTC (rev 586)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# assumes you are in the dir with this script
+# assumes everything is built in other directories
+
+_YH_="/Applications/YourKit Java Profiler 6.0.15.app"
+if [ `uname` = 'Linux' ] ; then
+ if [ "`uname -a | grep x86_64`" ] ; then
+ # Assume Linux AMD 64 has 64-bit Java
+ export LD_LIBRARY_PATH="$_YH_/bin/linux-amd64:$LD_LIBRARY_PATH"
+ else
+ # 32-bit Java
+ export LD_LIBRARY_PATH="$_YH_/bin/linux-x86-32:$LD_LIBRARY_PATH"
+ fi
+elif [ `uname` = 'Darwin' ] ; then
+ # Mac OS X
+ export DYLD_LIBRARY_PATH="$_YH_/bin/mac:$DYLD_LIBRARY_PATH"
+elif [ `uname` = 'SunOS' ] ; then
+ # Solaris, unlike Linux, probes entire LD_LIBRARY_PATH instead of stopping after first improper shared library
+ LD_LIBRARY_PATH="$_YH_/bin/solaris-sparc-32:$_YH_/bin/solaris-sparc-64:$_YH_/bin/solaris-x86-32:$_YH_/bin/solaris-x86-64:$LD_LIBRARY_PATH"
+ export LD_LIBRARY_PATH
+else
+ echo "YourKit Java Profiler 6.0.15: Unsupported platform: `uname`"
+ exit
+fi
+JAVA_TOOL_OPTIONS="-agentlib:yjpagent=sessionname=Viewer $JAVA_TOOL_OPTIONS"
+export JAVA_TOOL_OPTIONS
+
+INT_TEST=../../../../../ogoglio-integration-test/target/test-classes
+COMMON=../../../../../ogoglio-common/target/ogoglio-common-0.0.1-SNAPSHOT.jar
+LIVEC=~/.m2/repository/netscape/liveConnect/1.0/liveConnect-1.0.jar
+APPLET=../../../../../ogoglio-viewer-applet/target/ogoglio-viewer-applet-0.0.1-SNAPSHOT.jar
+
+SPACE=$1
+
+JAVA_OPTS="-Xrunyjpagent:sessionname=Viewer $JAVA_OPTS"
+
+java $JAVA_OPTS -Xmx512M -DAppletTestWindow.space=$SPACE -classpath $INT_TEST\:$COMMON\:$LIVEC\:$APPLET com.ogoglio.client.test.AppletTestWindow $2
Property changes on: maven/trunk/ogoglio/src/main/resources/scripts/profileViewerApplet.sh
___________________________________________________________________
Name: svn:executable
+ *
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|