35 lines
1.3 KiB
Bash
35 lines
1.3 KiB
Bash
#!/bin/sh
|
|
#
|
|
echo Install Adempiere Server
|
|
# $Header: /cvsroot/adempiere/install/Adempiere/RUN_setup.sh,v 1.19 2005/09/08 21:54:12 jjanke Exp $
|
|
|
|
if [ $JAVA_HOME ]; then
|
|
JAVA=$JAVA_HOME/bin/java
|
|
KEYTOOL=$JAVA_HOME/bin/keytool
|
|
else
|
|
JAVA=java
|
|
KEYTOOL=keytool
|
|
echo JAVA_HOME is not set.
|
|
echo You may not be able to start the Setup
|
|
echo Set JAVA_HOME to the directory of your local JDK.
|
|
fi
|
|
|
|
|
|
echo ===================================
|
|
echo Setup Dialog
|
|
echo ===================================
|
|
|
|
# OSGi:
|
|
$JAVA -Dosgi.noShutdown=false -Dosgi.compatibility.bootdelegation=true -Dosgi.configuration.area=setup-configuration -Declipse.p2.data.area=@config.dir/p2 -jar plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar -clean -noRegistryCache -application org.adempiere.install.application -consoleLog
|
|
|
|
$JAVA -Dosgi.noShutdown=false -Dosgi.compatibility.bootdelegation=true -Dosgi.configuration.area=setup-configuration -Declipse.p2.data.area=@config.dir/p2 -jar plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar -clean -noRegistryCache -application org.eclipse.ant.core.antRunner -buildfile build.xml
|
|
|
|
echo ===================================
|
|
echo Make .sh executable & set Env
|
|
echo ===================================
|
|
chmod -R a+x *.sh
|
|
find . -name '*.sh' -exec chmod a+x '{}' \;
|
|
|
|
echo .
|
|
echo For problems, check log file in base directory
|