2021-01-03 19:06:34 +07:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
echo Setup idempiere Server
|
|
|
|
|
2021-08-23 02:03:51 +07:00
|
|
|
# setup application requires getVar.sh to be executable
|
|
|
|
find . -name '*.sh' -exec chmod u+x '{}' \;
|
|
|
|
|
2021-01-03 19:06:34 +07:00
|
|
|
# Setup idempiere.properties and idempiereEnv.properties
|
2021-01-07 02:07:05 +07:00
|
|
|
./idempiere --launcher.ini setup.ini -application org.adempiere.install.silent-application $@
|
2021-01-03 19:06:34 +07:00
|
|
|
|
|
|
|
# Setup Jetty
|
|
|
|
if [ -s idempiere.properties ]
|
|
|
|
then
|
|
|
|
./idempiere --launcher.ini setup.ini -application org.eclipse.ant.core.antRunner -buildfile build.xml
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo .
|
|
|
|
echo For problems, check log file in base directory
|