2012-07-20 06:00:13 +07:00
|
|
|
@Title ... p2 director
|
2016-07-13 02:57:52 +07:00
|
|
|
@Echo on
|
2012-07-20 06:00:13 +07:00
|
|
|
|
|
|
|
cd %~dp0
|
2016-07-13 02:57:52 +07:00
|
|
|
set DESTINATION=%cd%
|
|
|
|
@echo %DESTINATION%
|
|
|
|
@echo %1%
|
2012-07-20 06:00:13 +07:00
|
|
|
|
2017-08-27 00:30:18 +07:00
|
|
|
copy idempiere.ini idempiere.ini.sav
|
|
|
|
|
|
|
|
if exist jetty.xml.sav del /q jetty.xml.sav
|
|
|
|
if exist jettyhome\etc\jetty.xml (
|
|
|
|
copy jettyhome\etc\jetty.xml jetty.xml.sav
|
|
|
|
)
|
|
|
|
|
|
|
|
if exist jetty-ssl.xml.sav del /q jetty-ssl.xml.sav
|
|
|
|
if exist jettyhome\etc\jetty-ssl.xml (
|
|
|
|
copy jettyhome\etc\jetty-ssl.xml jetty-ssl.xml.sav
|
|
|
|
)
|
|
|
|
|
|
|
|
if exist jetty-selector.xml.sav del /q jetty-selector.xml.sav
|
|
|
|
if exist jettyhome\etc\jetty-selector.xml (
|
|
|
|
copy jettyhome\etc\jetty-selector.xml jetty-selector.xml.sav
|
|
|
|
)
|
|
|
|
|
2019-12-25 21:52:57 +07:00
|
|
|
@call %DESTINATION%\update-prd %1% "org.adempiere.server.product"
|
2017-08-27 00:30:18 +07:00
|
|
|
|
|
|
|
copy idempiere.ini.sav idempiere.ini
|
|
|
|
|
|
|
|
if exist jetty.xml.sav (
|
|
|
|
copy jetty.xml.sav jettyhome\etc\jetty.xml
|
|
|
|
del /q jetty.xml.sav
|
|
|
|
)
|
|
|
|
|
|
|
|
if exist jetty-ssl.xml.sav (
|
|
|
|
copy jetty-ssl.xml.sav jettyhome\etc\jetty-ssl.xml
|
|
|
|
del /q jetty-ssl.xml.sav
|
|
|
|
)
|
|
|
|
|
|
|
|
if exist jetty-selector.xml.sav (
|
|
|
|
copy jetty-selector.xml.sav jettyhome\etc\jetty-selector.xml
|
|
|
|
del /q jetty-selector.xml.sav
|
|
|
|
)
|