| 10 |
<h3>Standalone update</h3> |
<h3>Standalone update</h3> |
| 11 |
With the most recent code, you can install/update/enable/disable |
With the most recent code, you can install/update/enable/disable |
| 12 |
a feature or list the features available on a remote site by running eclipse in a command line mode.<br> |
a feature or list the features available on a remote site by running eclipse in a command line mode.<br> |
| 13 |
|
You can also, mirror chosen features from an update site to a local update site mirror.<br> |
| 14 |
<br> |
<br> |
| 15 |
Launch eclipse as follows, where [ ] means optional argument and arguments in italics must be provided by the user.<br> |
Launch eclipse as follows, where [ ] means optional argument and arguments in italics must be provided by the user.<br> |
| 16 |
<br> |
<br> |
| 25 |
-featureId <i>feature_id </i><br> |
-featureId <i>feature_id </i><br> |
| 26 |
-version <i>version </i><br> |
-version <i>version </i><br> |
| 27 |
-from <i>remote_site_url</i> <br> |
-from <i>remote_site_url</i> <br> |
| 28 |
[-to <i>target_site_url</i>] <br> |
[-to <i>target_site_dir</i>] <br> |
| 29 |
<p> |
<p> |
| 30 |
<b>Example:</b> <code>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</code> |
<b>Example:</b> <code>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</code> |
| 31 |
</p> |
</p> |
| 44 |
-command enable<br> |
-command enable<br> |
| 45 |
-featureId <i>feature_id </i><br> |
-featureId <i>feature_id </i><br> |
| 46 |
-version <i>version </i><br> |
-version <i>version </i><br> |
| 47 |
[-to <i>target_site_url</i>] <br> |
[-to <i>target_site_dir</i>] <br> |
| 48 |
<br> |
<br> |
| 49 |
<b>Disabling (unconfiguring) a specified feature:</b><br> |
<b>Disabling (unconfiguring) a specified feature:</b><br> |
| 50 |
eclipse <br> |
eclipse <br> |
| 53 |
-command disable<br> |
-command disable<br> |
| 54 |
-featureId <i>feature_id </i><br> |
-featureId <i>feature_id </i><br> |
| 55 |
-version <i>version </i><br> |
-version <i>version </i><br> |
| 56 |
[-to <i>target_site_url</i>] <br> |
[-to <i>target_site_dir</i>] <br> |
| 57 |
<br> |
<br> |
| 58 |
<b>Searching a remote site, listing all available features for install:</b><br> |
In all the above commands where the -to target_site_dir is specified, corresponding |
| 59 |
|
configured target site at given directory will be used. If it is not specified, |
| 60 |
|
then the default local product site is used.<br> |
| 61 |
|
<br> |
| 62 |
|
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, |
| 63 |
|
then add <em>-verifyOnly=true</em> to the list of arguments.<br> |
| 64 |
|
|
| 65 |
|
<br><b>Searching a remote site, listing all available features for install:</b><br> |
| 66 |
eclipse <br> |
eclipse <br> |
| 67 |
-application org.eclipse.update.core.standaloneUpdate |
-application org.eclipse.update.core.standaloneUpdate |
| 68 |
<br> |
<br> |
| 69 |
-command search<br> |
-command search<br> |
| 70 |
-from <i>remote_site_url</i> <br> |
-from <i>remote_site_url</i> <br> |
| 71 |
<br> |
<br> |
| 72 |
In all the above commands where the -to target_site_url is specified, the |
<b>Mirroring feature(s) from a remote site:</b><br> |
| 73 |
corresponding configured target site will be used. If it is not specified, |
eclipse <br> |
| 74 |
then the default local product site is used.<br> |
-application org.eclipse.update.core.standaloneUpdate |
| 75 |
<br> |
<br> |
| 76 |
The return code for each command is either 0 (success) or 1 (failure). |
-command mirror<br> |
| 77 |
|
-from <i>remote_site_url</i> <br> |
| 78 |
|
-to <i>target_site_dir</i><br> |
| 79 |
|
[-featureId <i>feature_id</i>]<br> |
| 80 |
|
[-version <i>version</i>]<br> |
| 81 |
<br> |
<br> |
| 82 |
|
The return code for each command is either 0 (success) or 1 (failure). |
| 83 |
<br> |
<br> |
|
If you only need to verify if the operation would succeed (i.e. it satisfies the constraints), without actually performing it, |
|
|
then add <em>-verifyOnly=true</em> to the list of arguments. |
|
| 84 |
|
|
| 85 |
</body> |
</body> |
| 86 |
</html> |
</html> |