Script did not work with actual plugin version. Enhancement for calling with VM args
This commit is contained in:
parent
db87b54563
commit
04b065e812
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/sh
|
#!/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
|
if [ $JAVA_HOME ]; then
|
||||||
JAVA=$JAVA_HOME/bin/java
|
JAVA=$JAVA_HOME/bin/java
|
||||||
else
|
else
|
||||||
|
@ -13,4 +17,4 @@ echo ===================================
|
||||||
echo Starting Adempiere Client
|
echo Starting Adempiere Client
|
||||||
echo ===================================
|
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
|
||||||
|
|
Loading…
Reference in New Issue