summarylogtreecommitdiffstats
path: root/soapui
diff options
context:
space:
mode:
Diffstat (limited to 'soapui')
-rwxr-xr-xsoapui39
1 files changed, 16 insertions, 23 deletions
diff --git a/soapui b/soapui
index cfaccc0d0224..ebf9b8beb535 100755
--- a/soapui
+++ b/soapui
@@ -21,40 +21,33 @@ case "`uname`" in
;;
esac
-# Setup SOAPUI_BASE
-if [ "x$SOAPUI_HOME" = "x" ];
-then
- SOAPUI_HOME=$HOME
-fi
+# Setup SOAPUI_HOME
+SOAPUI_HOME=/usr/share/soapui
export SOAPUI_HOME
-if [ "x$SOAPUI_BASE" = "x" ];
-then
- # get the full path (without any relative bits)
- SOAPUI_BASE=/usr/share/soapui
-fi
-export SOAPUI_BASE
-
-SOAPUI_CLASSPATH=$SOAPUI_BASE/bin/soapui-#SOAPUIVER#-EB.jar:$SOAPUI_BASE/lib/*
+SOAPUI_CLASSPATH=$SOAPUI_HOME/bin/soapui-#SOAPUIVER#-EB.jar:$SOAPUI_HOME/lib/*
export SOAPUI_CLASSPATH
-JAVA_OPTS="-Dawt.useSystemAAFontSettings=on -Xms128m -Xmx1024m -Dsoapui.properties=soapui.properties -Dsoapui.home=$SOAPUI_HOME -splash:soapui-splash.png"
+JAVA_OPTS="-Xms128m -Xmx1024m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -Dsoapui.properties=soapui.properties -Dsoapui.home=$SOAPUI_HOME/bin -splash:SoapUI-Spashscreen.png"
+JAVA_OPTS="$JAVA_OPTS -Dawt.useSystemAAFontSettings=on -Duser.home=$HOME/.soapuios/ -Dsoapui.logroot=$HOME/.soapuios/"
+JFXRTPATH=`java -cp $SOAPUI_CLASSPATH com.eviware.soapui.tools.JfxrtLocator`
+SOAPUI_CLASSPATH=$JFXRTPATH:$SOAPUI_CLASSPATH
if $darwin
then
JAVA_OPTS="$JAVA_OPTS -Dswing.crossplatformlaf=apple.laf.AquaLookAndFeel -Dapple.eawt.quitStrategy=CLOSE_ALL_WINDOWS"
fi
-if [ $SOAPUI_BASE != "" ]
+if [ $SOAPUI_HOME != "" ]
then
- JAVA_OPTS="$JAVA_OPTS -Dsoapui.ext.libraries=$SOAPUI_BASE/bin/ext"
- JAVA_OPTS="$JAVA_OPTS -Dsoapui.ext.listeners=$SOAPUI_BASE/bin/listeners"
- JAVA_OPTS="$JAVA_OPTS -Dsoapui.ext.actions=$SOAPUI_BASE/bin/actions"
- JAVA_OPTS="$JAVA_OPTS -Djava.library.path=$SOAPUI_BASE/bin"
- JAVA_OPTS="$JAVA_OPTS -Dwsi.dir=$SOAPUI_BASE/wsi-test-tools"
+ JAVA_OPTS="$JAVA_OPTS -Dsoapui.ext.libraries=$SOAPUI_HOME/bin/ext"
+ JAVA_OPTS="$JAVA_OPTS -Dsoapui.ext.listeners=$SOAPUI_HOME/bin/listeners"
+ JAVA_OPTS="$JAVA_OPTS -Dsoapui.ext.actions=$SOAPUI_HOME/bin/actions"
+ JAVA_OPTS="$JAVA_OPTS -Djava.library.path=$SOAPUI_HOME/bin"
+ JAVA_OPTS="$JAVA_OPTS -Dwsi.dir=$SOAPUI_HOME/wsi-test-tools"
#uncomment to disable browser component
-# JAVA_OPTS="$JAVA_OPTS -Dsoapui.jxbrowser.disable=true"
+# JAVA_OPTS="$JAVA_OPTS -Dsoapui.browser.disabled=true"
fi
export JAVA_OPTS
@@ -62,14 +55,14 @@ export JAVA_OPTS
# For Cygwin, switch paths to Windows format before running java
if [ $cygwin = "true" ]
then
- SOAPUI_BASE=`cygpath --path --dos "$SOAPUI_BASE"`
+ SOAPUI_HOME=`cygpath --path --dos "$SOAPUI_HOME"`
SOAPUI_CLASSPATH=`cygpath --path --dos "$SOAPUI_CLASSPATH"`
fi
cd $DIRNAME
echo ================================
echo =
-echo = SOAPUI_BASE = $SOAPUI_BASE
+echo = SOAPUI_HOME = $SOAPUI_HOME
echo =
echo ================================