2015年3月1日 星期日

iDempiere JAVA8 setup.bat

@Title ... Setup iDempiere Server
@Echo off

keytool -genkey -keyalg rsa -alias idempiere -dname "CN=acer7i, OU=Albert, O=AdempiereUser, L=MyTown, C=TW" -keypass myPassword -validity 999 -keystore C:\Users\Albert\buckminster.output\org.adempiere.server_3.0.0-eclipse.feature\idempiere.win32.win32.x86_64\idempiere-server\jettyhome\etc\keystore -storepass myPassword

@REM Setup idempiere.properties and idempiereEnv.properties
idempiere --launcher.ini setup.ini -application org.adempiere.install.application -consoleLog

@Echo ErrorLevel = %ERRORLEVEL%
@IF NOT ERRORLEVEL = 1 GOTO NEXT
@Echo ***************************************
@Echo Check the error message above.
@Echo ***************************************
@Pause
@Exit

:NEXT
@REM Setup Jetty
@Echo ... Setup Jetty
idempiere --launcher.ini setup.ini -application org.eclipse.ant.core.antRunner -buildfile build.xml

@Echo ...
@Echo For problems, check log file in base directory
@Rem Wait 10 second
@PING 1.1.1.1 -n 1 -w 10000 > NUL

沒有留言:

張貼留言