Standalone update
With the most recent code, you can install/update/enable/disable
a feature or list the features available on a remote site by running eclipse in a command line mode.
You can also, mirror chosen features from an update site to a local update site mirror.
Launch eclipse as follows, where [ ] means optional argument and arguments in italics must be provided by the user.
Note: It is also recommended to invoke eclipse.exe with -nosplash and -vm path_to_java.exe
Installing a feature from a remote site:
eclipse
-application org.eclipse.update.core.standaloneUpdate
-command install
-featureId feature_id
-version version
-from remote_site_url
[-to target_site_dir]
Example: eclipse.exe -application org.eclipse.update.core.standaloneUpdate -nosplash -command install -from http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/optionalSite/ -featureId com.example.root -version 1.0.0
Updating an existing feature or all features:
eclipse
-application org.eclipse.update.core.standaloneUpdate
-command update
[-featureId feature_id ]
Enabling (configuring) a specified feature:
eclipse
-application org.eclipse.update.core.standaloneUpdate
-command enable
-featureId feature_id
-version version
[-to target_site_dir]
Disabling (unconfiguring) a specified feature:
eclipse
-application org.eclipse.update.core.standaloneUpdate
-command disable
-featureId feature_id
-version version
[-to target_site_dir]
In all the above commands where the -to target_site_dir is specified, corresponding
configured target site at given directory will be used. If it is not specified,
then the default local product site is used.
If you only need to verify if the operation would succeed, in the above commands, (i.e. it satisfies the constraints), without actually performing it,
then add -verifyOnly=true to the list of arguments.
Searching a remote site, listing all available features for install:
eclipse
-application org.eclipse.update.core.standaloneUpdate
-command search
-from remote_site_url
Mirroring feature(s) from a remote site:
eclipse
-application org.eclipse.update.core.standaloneUpdate
-command mirror
-from remote_site_url
-to target_site_dir
[-featureId feature_id]
[-version version]
The return code for each command is either 0 (success) or 1 (failure).