2006-11-17 10:09:16 +07:00
|
|
|
#!/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 ===================================
|
|
|
|
|
2010-04-29 03:59:00 +07:00
|
|
|
# OSGi:
|
2010-07-15 02:10:57 +07:00
|
|
|
$JAVA -Dosgi.compatibility.bootdelegation=true -jar osgi/org.eclipse.osgi_3.6.0.v20100517.jar -clean -console -install osgi -configuration osgi/client -application org.adempiere.Install
|
2010-04-29 03:59:00 +07:00
|
|
|
|
2006-11-17 10:09:16 +07:00
|
|
|
|
|
|
|
echo ===================================
|
|
|
|
echo Make .sh executable & set Env
|
|
|
|
echo ===================================
|
|
|
|
chmod -R a+x *.sh
|
|
|
|
find . -name '*.sh' -exec chmod a+x '{}' \;
|
|
|
|
|
2008-02-20 07:38:39 +07:00
|
|
|
# Sign database build
|
2010-07-13 15:07:13 +07:00
|
|
|
# cd utils
|
|
|
|
#. ./RUN_SignDatabaseBuild.sh
|
2008-02-20 07:38:39 +07:00
|
|
|
|
2010-08-20 15:05:06 +07:00
|
|
|
. utils/RUN_UnixEnv.sh
|
2006-11-17 10:09:16 +07:00
|
|
|
|
|
|
|
echo .
|
2008-10-25 05:29:40 +07:00
|
|
|
echo For problems, check log file in base directory
|