2006-11-17 10:15:04 +07:00
|
|
|
@Title Build Adempiere Incremental + Install
|
|
|
|
@Rem $Header: /cvsroot/adempiere/utils_dev/RUN_buildIncremental.bat,v 1.14 2005/09/08 21:56:11 jjanke Exp $
|
|
|
|
|
|
|
|
@CALL myDevEnv.bat
|
|
|
|
@IF NOT %ADEMPIERE_ENV%==Y GOTO NOBUILD
|
|
|
|
|
|
|
|
@Echo Stop Apps Server (waiting)
|
|
|
|
@START %ADEMPIERE_HOME%\utils\RUN_Server2Stop.bat
|
2007-01-12 20:51:48 +07:00
|
|
|
@Rem Wait 5 second
|
|
|
|
@PING 1.1.1.1 -n 1 -w 5000 > NUL
|
2006-11-17 10:15:04 +07:00
|
|
|
|
|
|
|
@echo Building ...
|
2007-01-12 20:51:48 +07:00
|
|
|
@"%JAVA_HOME%\bin\java" -Dant.home="." %ANT_PROPERTIES% org.apache.tools.ant.Main update
|
2006-11-17 10:15:04 +07:00
|
|
|
@Echo ErrorLevel = %ERRORLEVEL%
|
|
|
|
|
|
|
|
@IF NOT ERRORLEVEL 0 GOTO BUILDOK
|
|
|
|
@Pause
|
|
|
|
@Exit
|
|
|
|
|
|
|
|
:BUILDOK
|
|
|
|
dir %ADEMPIERE_INSTALL%
|
|
|
|
|
|
|
|
@Echo Cleaning up ...
|
|
|
|
@erase /q /s %TMP%
|
|
|
|
|
|
|
|
@Echo Starting Apps Server ...
|
|
|
|
@Start %ADEMPIERE_HOME%\utils\RUN_Server2.bat
|
|
|
|
|
2007-01-15 01:47:53 +07:00
|
|
|
@Pause
|
2006-11-17 10:15:04 +07:00
|
|
|
@Exit
|
|
|
|
|
|
|
|
:NOBUILD
|
|
|
|
@Echo Check myDevEnv.bat (copy from myDevEnvTemplate.bat)
|
|
|
|
@Pause
|