Script did not work with actual plugin version. Enhancement for calling with VM args

This commit is contained in:
Thomas Bayen 2012-12-12 23:52:58 +01:00
parent db87b54563
commit 04b065e812
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
#!/bin/sh
#
# script parameters are used as VM args. e.g.:
# ./adempiere-client.sh -DPropertyFile=/home/tbayen/idempiere-conf2.properties
# -- tbayen
if [ $JAVA_HOME ]; then
JAVA=$JAVA_HOME/bin/java
else
@ -13,4 +17,4 @@ echo ===================================
echo Starting Adempiere Client
echo ===================================
$JAVA -Dosgi.noShutdown=true -Dosgi.framework.activeThreadType=normal -Dosgi.compatibility.bootdelegation=true -XX:MaxPermSize=192m -jar plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -application org.adempiere.ui.swing.client
$JAVA -Dosgi.noShutdown=true -Dosgi.framework.activeThreadType=normal -Dosgi.compatibility.bootdelegation=true $@ -XX:MaxPermSize=192m -jar plugins/org.eclipse.equinox.launcher_ 1.2.0.v20110502.jar -application org.adempiere.ui.swing.client