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
|
|
|
|
2015-06-30 23:15:54 +07:00
|
|
|
copy idempiere.ini idempiere.ini.sav
|
2014-10-13 10:05:19 +07:00
|
|
|
|
|
|
|
if exist jetty.xml.sav del /q jetty.xml.sav
|
2016-07-13 02:57:52 +07:00
|
|
|
if exist jettyhome\etc\jetty.xml (
|
|
|
|
copy jettyhome\etc\jetty.xml jetty.xml.sav
|
2013-11-22 07:17:27 +07:00
|
|
|
)
|
2014-10-13 10:05:19 +07:00
|
|
|
|
|
|
|
if exist jetty-ssl.xml.sav del /q jetty-ssl.xml.sav
|
2016-07-13 02:57:52 +07:00
|
|
|
if exist jettyhome\etc\jetty-ssl.xml (
|
|
|
|
copy jettyhome\etc\jetty-ssl.xml jetty-ssl.xml.sav
|
2013-07-15 16:13:07 +07:00
|
|
|
)
|
2012-07-20 06:00:13 +07:00
|
|
|
|
2014-10-13 10:05:19 +07:00
|
|
|
if exist jetty-selector.xml.sav del /q jetty-selector.xml.sav
|
2016-07-13 02:57:52 +07:00
|
|
|
if exist jettyhome\etc\jetty-selector.xml (
|
|
|
|
copy jettyhome\etc\jetty-selector.xml jetty-selector.xml.sav
|
2014-10-13 10:05:19 +07:00
|
|
|
)
|
2012-07-20 06:00:13 +07:00
|
|
|
|
2015-07-02 09:05:10 +07:00
|
|
|
FOR %%c in (plugins\org.eclipse.equinox.launcher_1.*.jar) DO set JARFILE=%%c
|
2016-07-13 02:57:52 +07:00
|
|
|
java -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4 -Djava.net.preferIPv4Stack=true -jar %JARFILE% -install director -configuration director/configuration -application org.eclipse.equinox.p2.director -consoleLog -profileProperties org.eclipse.update.install.features=true -destination %DESTINATION% -repository %1% -u org.adempiere.server.product
|
|
|
|
java -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4 -Djava.net.preferIPv4Stack=true -jar %JARFILE% -install director -configuration director/configuration -application org.eclipse.equinox.p2.director -consoleLog -profileProperties org.eclipse.update.install.features=true -destination %DESTINATION% -repository %1% -i org.adempiere.server.product
|
2012-07-20 06:00:13 +07:00
|
|
|
|
2015-06-30 23:15:54 +07:00
|
|
|
copy idempiere.ini.sav idempiere.ini
|
2014-10-13 10:05:19 +07:00
|
|
|
|
|
|
|
if exist jetty.xml.sav (
|
2016-07-13 02:57:52 +07:00
|
|
|
copy jetty.xml.sav jettyhome\etc\jetty.xml
|
2014-10-13 10:05:19 +07:00
|
|
|
del /q jetty.xml.sav
|
2013-07-15 16:13:07 +07:00
|
|
|
)
|
2014-10-13 10:05:19 +07:00
|
|
|
|
|
|
|
if exist jetty-ssl.xml.sav (
|
2016-07-13 02:57:52 +07:00
|
|
|
copy jetty-ssl.xml.sav jettyhome\etc\jetty-ssl.xml
|
2014-10-13 10:05:19 +07:00
|
|
|
del /q jetty-ssl.xml.sav
|
|
|
|
)
|
|
|
|
|
|
|
|
if exist jetty-selector.xml.sav (
|
2016-07-13 02:57:52 +07:00
|
|
|
copy jetty-selector.xml.sav jettyhome\etc\jetty-selector.xml
|
2014-10-13 10:05:19 +07:00
|
|
|
del /q jetty-selector.xml.sav
|
|
|
|
)
|
|
|
|
|