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.
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_url]
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_url]
Disabling (unconfiguring) a specified feature:
eclipse
-application org.eclipse.update.core.standaloneUpdate
-command disable
-featureId feature_id
-version version
[-to target_site_url]
Searching a remote site, listing all available features for install:
eclipse
-application org.eclipse.update.core.standaloneUpdate
-command search
-from remote_site_url
In all the above commands where the -to target_site_url is specified, the
corresponding configured target site will be used. If it is not specified,
then the default local product site is used.
The return code for each command is either 0 (success) or 1 (failure).
If you only need to verify if the operation would succeed (i.e. it satisfies the constraints), without actually performing it,
then add -verifyOnly=true to the list of arguments.