diff --git a/org.adempiere.ui.swing-feature/adempiere-client.bat b/org.adempiere.ui.swing-feature/adempiere-client.bat index 2c866c60a9..7dcda7188f 100644 --- a/org.adempiere.ui.swing-feature/adempiere-client.bat +++ b/org.adempiere.ui.swing-feature/adempiere-client.bat @@ -17,4 +17,4 @@ goto START @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.*.jar -application org.adempiere.ui.swing.client diff --git a/org.adempiere.ui.swing-feature/adempiere-client.sh b/org.adempiere.ui.swing-feature/adempiere-client.sh index f43afa5d5b..4ce7899eb8 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.*.jar -application org.adempiere.ui.swing.client