2012-02-02 10:49:17 +07:00
|
|
|
@Title ... Setup Adempiere Server
|
2010-11-04 02:46:38 +07:00
|
|
|
@Echo off
|
|
|
|
|
2010-11-04 17:05:01 +07:00
|
|
|
@REM Setup Adempiere.properties and AdempiereEnv.properties
|
2012-02-02 10:49:17 +07:00
|
|
|
adempiere --launcher.ini setup.ini -application org.adempiere.install.application -consoleLog
|
2010-11-04 02:46:38 +07:00
|
|
|
|
|
|
|
@Echo ErrorLevel = %ERRORLEVEL%
|
|
|
|
@IF NOT ERRORLEVEL = 1 GOTO NEXT
|
|
|
|
@Echo ***************************************
|
|
|
|
@Echo Check the error message above.
|
|
|
|
@Echo ***************************************
|
|
|
|
@Pause
|
|
|
|
@Exit
|
|
|
|
|
|
|
|
:NEXT
|
2010-11-04 17:05:01 +07:00
|
|
|
@REM Setup Tomcat
|
2012-02-02 10:49:17 +07:00
|
|
|
@Echo ... Setup Tomcat
|
2010-11-04 17:05:01 +07:00
|
|
|
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 ...
|
2010-11-04 02:46:38 +07:00
|
|
|
@Echo For problems, check log file in base directory
|
|
|
|
@Rem Wait 10 second
|
|
|
|
@PING 1.1.1.1 -n 1 -w 10000 > NUL
|