mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
a=edburns
r=edburns author=ashuk bug=28407 New run script for spec-compliant impl -- Ashu K.
This commit is contained in:
parent
11dfd4783d
commit
364a2788bc
39
java/webclient/src_moz/runem.solaris
Executable file
39
java/webclient/src_moz/runem.solaris
Executable file
@ -0,0 +1,39 @@
|
||||
#!/bin/sh
|
||||
|
||||
MOZILLA_TOP=${PWD}/../../..
|
||||
MOZILLA_DIST=${MOZILLA_TOP}/dist
|
||||
MOZILLA_FIVE_HOME=${MOZILLA_DIST}/bin
|
||||
export MOZILLA_FIVE_HOME
|
||||
|
||||
# Standard JDK 1.2 location
|
||||
JDK_LOCATION=${JDKHOME}
|
||||
# WARNING: YOU NEED TO RUN 'gtk-config --libs' and stick in whatever library
|
||||
# paths it gives you!!!!
|
||||
GTKLIBS=/usr/local/X11R6/lib:/opt/local/lib:/usr/openwin/lib:/usr/dt/lib:/Blackwood/gtk/lib:/Blackwood/glib/lib
|
||||
# For Solaris
|
||||
LD_LIBRARY_PATH=${JDK_LOCATION}/jre/lib/sparc:${JDK_LOCATION}/jre/lib/sparc/native_threads:${JDK_LOCATION}/jre/lib/sparc/classic:${MOZILLA_DIST}/bin:${GTKLIBS}:.:/usr/local/lib:/usr/lib:/lib
|
||||
export LD_LIBRARY_PATH
|
||||
JAVA=${JDK_LOCATION}/bin/java
|
||||
OUTPUT_DIR=${MOZILLA_DIST}/classes
|
||||
# JDK 1.2 CLASSES
|
||||
CLASSES=${JDK_LOCATION}/lib/tools.jar:${JDK_LOCATION}/lib/rt.jar:${OUTPUT_DIR}
|
||||
CLASSNAME=org.mozilla.webclient.test.EmbeddedMozilla
|
||||
|
||||
echo
|
||||
echo "===================================================================="
|
||||
echo JDKHOME=${JDKHOME}
|
||||
echo "===================================================================="
|
||||
echo CLASSPATH=${CLASSES}
|
||||
echo "===================================================================="
|
||||
echo MOZILLA_FIVE_HOME=${MOZILLA_FIVE_HOME}
|
||||
echo "===================================================================="
|
||||
echo LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
|
||||
echo "===================================================================="
|
||||
echo
|
||||
# For debugging...
|
||||
#${JAVA} -native -verbose:jni -Xcheck:jni -classpath ${CLASSES} ${CLASSNAME} ${MOZILLA_FIVE_HOME} $1
|
||||
echo ${JAVA} -native -classpath ${CLASSES} ${CLASSNAME} ${MOZILLA_FIVE_HOME} $1 $2 $3 $4 $5
|
||||
${JAVA} -native -classpath ${CLASSES} ${CLASSNAME} ${MOZILLA_FIVE_HOME} $1 $2 $3 $4 $5
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user