2010-11-04 02:46:38 +07:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2012-02-02 10:49:17 +07:00
|
|
|
echo ... Setup Adempiere Server
|
2010-11-04 02:46:38 +07:00
|
|
|
|
2010-11-04 17:05:01 +07:00
|
|
|
# Setup Adempiere.properties and AdempiereEnv.properties
|
2012-02-02 10:49:17 +07:00
|
|
|
./adempiere --launcher.ini setup.ini -application org.adempiere.install.application
|
2010-11-04 02:46:38 +07:00
|
|
|
|
2012-02-02 10:49:17 +07:00
|
|
|
echo ... Setup Tomcat
|
2010-11-04 17:05:01 +07:00
|
|
|
# Setup Tomcat
|
|
|
|
./adempiere --launcher.ini setup.ini -application org.eclipse.ant.core.antRunner -buildfile build.xml
|
2010-11-04 02:46:38 +07:00
|
|
|
|
2012-02-02 10:49:17 +07:00
|
|
|
echo ... Make .sh executable
|
|
|
|
chmod -R a+x *.sh
|
|
|
|
find . -name '*.sh' -exec chmod a+x '{}' \;
|
|
|
|
|
|
|
|
echo ...
|
2010-11-04 02:46:38 +07:00
|
|
|
echo For problems, check log file in base directory
|