Forum Discussion
SmartBear_Suppo
SmartBear Alumni (Retired)
Hi one way to do it is to edit the soapui-pro.bat / soapui-pro.sh script
soapu-pro.sh:
to
soapu-pro.bat:
to
And then running soapUI using the bat / sh script.
--
Regards
Erik
SmartBear Sweden
soapu-pro.sh:
JAVA_OPTS="-Xms128m -Xmx1024m -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 -Dsoapui.home=$SOAPUI_HOME/bin"
to
JAVA_OPTS="-Xms128m -Xmx1024m -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 -Dsoapui.home=$SOAPUI_HOME/bin -Duser.home=<DIRECTORY OF YOUR SETTING FILE>"
soapu-pro.bat:
set JAVA_OPTS=-Xms128m -Xmx1024m -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 "-Dsoapui.home=%SOAPUI_HOME%\"
to
set JAVA_OPTS=-Xms128m -Xmx1024m -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 "-Dsoapui.home=%SOAPUI_HOME%\ -Duser.home=<DIRECTORY OF YOUR SETTING FILE>"
And then running soapUI using the bat / sh script.
--
Regards
Erik
SmartBear Sweden
mgt2000
8 years agoNew Member
The other way to solve this issue is to edit SoapUI.vmoptions file which is located in the bin folder (for example: /opt/SmartBear/SoapUI-5.2.1/bin)
There you need to add this line:
-Duser.home=<directory that you want>
And then you instead of using the normal launcher, you can use the other one which is created for you by default: "com-eviware-soapui-soapui.desktop" and the new configuration will be picked up.