Launch plugin updates with Eclipse interface

I am trying to update plugins for installing Eclipse Galileo SR2 from the command line.

Something similar to this command (which requests a specific function):

java -jar org.eclipse.equinox.launcher_*.jar -application org.eclipse.update.core.standaloneUpdate -command update

Does anyone know if a command exists using p2 or any other Eclipse application application?

+3
source share
1 answer

I was able to upgrade the Eclipse Classic Galileo from SR1 to SR2 using the following command:

java -jar plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar 
     -application org.eclipse.equinox.p2.director 
     -installIU org.eclipse.sdk.ide 
     -uninstallIU org.eclipse.sdk.ide 
     -artifactRepository http://download.eclipse.org/releases/galileo 
     -metadataRepository http://download.eclipse.org/releases/galileo 
     -profile SDKProfile 
     -flavor tooling 
     -destination C:\eclipse 
     -p2.os win32 -p2.ws win32 -p2.arch x86
  • Currently, the director does not perform updates, but removal and installation are equivalent. See error 279659
  • / org.eclipse.sdk.ide , . Eclipse SDK. - , root. → → → . node . "Eclipse IDE C/++" - epp.package.cpp. "Eclipse IDE Java" - epp.package.java.
  • -profile SDKProfile , . eclipse.p2.profile config.ini.
  • -destination C:\eclipse - , , , .
+2

Source: https://habr.com/ru/post/1735433/


All Articles