IDEMPIERE-3560 update.bat fail / fix the windows versions
This commit is contained in:
parent
2dd5de751d
commit
d082d6c9f8
|
@ -2,10 +2,14 @@
|
||||||
@Echo on
|
@Echo on
|
||||||
|
|
||||||
cd %~dp0
|
cd %~dp0
|
||||||
set DESTINATION=%cd%
|
@set DESTINATION=%cd%
|
||||||
@echo %DESTINATION%
|
@echo DESTINATION = %DESTINATION%
|
||||||
@echo %1%
|
@set REPO=%1%
|
||||||
|
@echo REPOSITORY = %REPO%
|
||||||
|
@set PACK=%2%
|
||||||
|
@echo PACKAGES = %PACK%
|
||||||
|
|
||||||
FOR %%c in (plugins\org.eclipse.equinox.launcher_1.*.jar) DO set JARFILE=%%c
|
@FOR %%c in (plugins\org.eclipse.equinox.launcher_1.*.jar) DO set JARFILE=%%c
|
||||||
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 %2%
|
@echo JARFILE = %JARFILE%
|
||||||
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 %2%
|
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 %REPO% -u %PACK%
|
||||||
|
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 %REPO% -i %PACK%
|
||||||
|
|
|
@ -23,7 +23,7 @@ if exist jettyhome\etc\jetty-selector.xml (
|
||||||
copy jettyhome\etc\jetty-selector.xml jetty-selector.xml.sav
|
copy jettyhome\etc\jetty-selector.xml jetty-selector.xml.sav
|
||||||
)
|
)
|
||||||
|
|
||||||
@call %DESTINATION%\update-prd %1% org.adempiere.server.product,org.idempiere.fitnesse.feature.group
|
@call %DESTINATION%\update-prd %1% "org.adempiere.server.product,org.idempiere.fitnesse.feature.group"
|
||||||
|
|
||||||
copy idempiere.ini.sav idempiere.ini
|
copy idempiere.ini.sav idempiere.ini
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue