core-jgi/org.adempiere.server-feature/silent-setup.sh

19 lines
513 B
Bash

#!/bin/sh
#
echo Setup idempiere Server
# setup application requires getVar.sh to be executable
find . -name '*.sh' -exec chmod u+x '{}' \;
# Setup idempiere.properties and idempiereEnv.properties
./idempiere --launcher.ini setup.ini -application org.adempiere.install.silent-application $@
# 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