2017-08-27 00:21:17 +07:00
|
|
|
@Title ... p2 director
|
|
|
|
@Echo on
|
|
|
|
|
|
|
|
cd %~dp0
|
2018-05-30 18:49:04 +07:00
|
|
|
@set DESTINATION=%cd%
|
|
|
|
@echo DESTINATION = %DESTINATION%
|
|
|
|
@set REPO=%1%
|
|
|
|
@echo REPOSITORY = %REPO%
|
|
|
|
@set PACK=%2%
|
|
|
|
@echo PACKAGES = %PACK%
|
2017-08-27 00:21:17 +07:00
|
|
|
|
2018-05-30 18:49:04 +07:00
|
|
|
@FOR %%c in (plugins\org.eclipse.equinox.launcher_1.*.jar) DO set JARFILE=%%c
|
|
|
|
@echo JARFILE = %JARFILE%
|
2020-03-12 19:16:42 +07:00
|
|
|
java -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4 -Djava.net.preferIPv4Stack=true -jar %JARFILE% -install director -profile DefaultProfile -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 -profile DefaultProfile -configuration director/configuration -application org.eclipse.equinox.p2.director -consoleLog -profileProperties org.eclipse.update.install.features=true -destination %DESTINATION% -repository %REPO% -i %PACK%
|