2021-01-03 19:06:34 +07:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
echo Setup iDempiere 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
|
|
|
|
else
|
|
|
|
JAVA=java
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
# Setup idempiere.properties and idempiereEnv.properties
|
2021-01-07 02:07:05 +07:00
|
|
|
$JAVA -jar plugins/org.eclipse.equinox.launcher_1.*.jar -install setup -configuration setup/configuration -application org.adempiere.install.silent-application $@
|
2021-01-03 19:06:34 +07:00
|
|
|
|
|
|
|
if [ -s idempiere.properties ]
|
|
|
|
then
|
|
|
|
# Setup Jetty
|
|
|
|
$JAVA -jar plugins/org.eclipse.equinox.launcher_1.*.jar -install setup -configuration setup/configuration -application org.eclipse.ant.core.antRunner -buildfile build.xml
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo .
|
|
|
|
echo For problems, check log file in base directory
|