2010-11-04 17:05:01 +07:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2020-09-09 00:37:00 +07:00
|
|
|
echo ... Setup iDempiere Server
|
2010-11-04 17:05:01 +07:00
|
|
|
# $Header: /cvsroot/adempiere/install/Adempiere/RUN_setup.sh,v 1.19 2005/09/08 21:54:12 jjanke Exp $
|
|
|
|
|
2020-09-09 00:37:00 +07:00
|
|
|
if [ "$JAVA_HOME" ]; then
|
2010-11-04 17:05:01 +07:00
|
|
|
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
|
|
|
|
|
2012-06-06 21:13:34 +07:00
|
|
|
#setup idempiere.properties and idempiereEnv.propertiess
|
2014-10-13 10:05:19 +07:00
|
|
|
$JAVA -jar plugins/org.eclipse.equinox.launcher_1.*.jar -install setup -configuration setup/configuration -application org.adempiere.install.application
|
2010-11-04 17:05:01 +07:00
|
|
|
|
2014-10-13 10:05:19 +07:00
|
|
|
echo ... Setup Jetty
|
|
|
|
#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
|
2010-11-04 17:05:01 +07:00
|
|
|
|
2012-02-02 10:49:17 +07:00
|
|
|
echo ...
|
2020-09-09 00:37:00 +07:00
|
|
|
echo For problems, check log file in base directory
|