diff --git a/org.adempiere.ui.swing-feature/adempiere-client.sh b/org.adempiere.ui.swing-feature/adempiere-client.sh index f43afa5d5b..18e447dcfa 100644 --- a/org.adempiere.ui.swing-feature/adempiere-client.sh +++ b/org.adempiere.ui.swing-feature/adempiere-client.sh @@ -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