| 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> |
| 17 |
<b>Installing a feature from a remote site</b>:<br> |
<b>Installing a feature from a remote site</b>:<br> |
| 18 |
eclipse <br> |
java -cp startup.jar org.eclipse.core.launcher.Main <br> |
| 19 |
-application org.eclipse.update.core.standaloneUpdate<br> |
-application org.eclipse.update.core.standaloneUpdate<br> |
|
-nosplash <br> |
|
|
[-vm <i>path to java.exe</i>] <br> |
|
| 20 |
-command install <br> |
-command install <br> |
| 21 |
-featureId <i>feature_id </i><br> |
-featureId <i>feature_id </i><br> |
| 22 |
-version <i>version </i><br> |
-version <i>version </i><br> |
| 23 |
-from <i>remote_site_url</i> <br> |
-from <i>remote_site_url</i> <br> |
| 24 |
[-to <i>target_site_dir</i>] <br> |
[-to <i>target_site_dir</i>] <br> |
| 25 |
<p> |
<p> |
| 26 |
<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>java -cp startup.jar org.eclipse.core.launcher.Main -application org.eclipse.update.core.standaloneUpdate -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> |
| 27 |
</p> |
</p> |
| 28 |
<br> |
<br> |
| 29 |
<b>Updating an existing feature or all features</b>:<br> |
<b>Updating an existing feature or all features</b>:<br> |
| 30 |
eclipse <br> |
java -cp startup.jar org.eclipse.core.launcher.Main <br> |
| 31 |
-application org.eclipse.update.core.standaloneUpdate<br> |
-application org.eclipse.update.core.standaloneUpdate<br> |
|
-nosplash <br> |
|
|
[-vm <i>path to java.exe</i>] <br> |
|
| 32 |
-command update<br> |
-command update<br> |
| 33 |
[-featureId <i>feature_id </i>]<br> |
[-featureId <i>feature_id </i>]<br> |
| 34 |
<br> |
<br> |
| 35 |
<b>Enabling (configuring) a specified feature:</b><br> |
<b>Enabling (configuring) a specified feature:</b><br> |
| 36 |
eclipse <br> |
java -cp startup.jar org.eclipse.core.launcher.Main <br> |
| 37 |
-application org.eclipse.update.core.standaloneUpdate<br> |
-application org.eclipse.update.core.standaloneUpdate<br> |
|
-nosplash <br> |
|
|
[-vm <i>path to java.exe</i>] <br> |
|
| 38 |
-command enable<br> |
-command enable<br> |
| 39 |
-featureId <i>feature_id </i><br> |
-featureId <i>feature_id </i><br> |
| 40 |
-version <i>version </i><br> |
-version <i>version </i><br> |
| 41 |
[-to <i>target_site_dir</i>] <br> |
[-to <i>target_site_dir</i>] <br> |
| 42 |
<br> |
<br> |
| 43 |
<b>Disabling (unconfiguring) a specified feature:</b><br> |
<b>Disabling (unconfiguring) a specified feature:</b><br> |
| 44 |
eclipse <br> |
java -cp startup.jar org.eclipse.core.launcher.Main <br> |
| 45 |
-application org.eclipse.update.core.standaloneUpdate<br> |
-application org.eclipse.update.core.standaloneUpdate<br> |
|
-nosplash <br> |
|
|
[-vm <i>path to java.exe</i>] <br> |
|
| 46 |
-command disable<br> |
-command disable<br> |
| 47 |
-featureId <i>feature_id </i><br> |
-featureId <i>feature_id </i><br> |
| 48 |
-version <i>version </i><br> |
-version <i>version </i><br> |
| 49 |
[-to <i>target_site_dir</i>] <br> |
[-to <i>target_site_dir</i>] <br> |
| 50 |
<br> |
<br> |
| 51 |
<b>Uninstalling a specified feature:</b><br> |
<b>Uninstalling a specified feature:</b><br> |
| 52 |
eclipse <br> |
java -cp startup.jar org.eclipse.core.launcher.Main <br> |
| 53 |
-application org.eclipse.update.core.standaloneUpdate<br> |
-application org.eclipse.update.core.standaloneUpdate<br> |
|
-nosplash <br> |
|
|
[-vm <i>path to java.exe</i>] <br> |
|
| 54 |
-command uninstall<br> |
-command uninstall<br> |
| 55 |
-featureId <i>feature_id </i><br> |
-featureId <i>feature_id </i><br> |
| 56 |
-version <i>version </i><br> |
-version <i>version </i><br> |
| 64 |
then add <b><em>-verifyOnly=true</em></b> to the list of arguments.<br> |
then add <b><em>-verifyOnly=true</em></b> to the list of arguments.<br> |
| 65 |
|
|
| 66 |
<br><b>Searching a remote site, listing all available features for install:</b><br> |
<br><b>Searching a remote site, listing all available features for install:</b><br> |
| 67 |
eclipse <br> |
java -cp startup.jar org.eclipse.core.launcher.Main <br> |
| 68 |
-application org.eclipse.update.core.standaloneUpdate<br> |
-application org.eclipse.update.core.standaloneUpdate<br> |
|
-nosplash <br> |
|
|
[-vm <i>path to java.exe</i>] <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 |
<b>Mirroring feature(s) from a remote site:</b><br> |
<b>Mirroring feature(s) from a remote site:</b><br> |
| 73 |
eclipse <br> |
java -cp startup.jar org.eclipse.core.launcher.Main <br> |
| 74 |
-application org.eclipse.update.core.standaloneUpdate<br> |
-application org.eclipse.update.core.standaloneUpdate<br> |
|
-nosplash <br> |
|
|
[-vm <i>path to java.exe</i>] <br> |
|
| 75 |
-command mirror<br> |
-command mirror<br> |
| 76 |
-from <i>remote_site_url</i> <br> |
-from <i>remote_site_url</i> <br> |
| 77 |
-to <i>target_site_dir</i><br> |
-to <i>target_site_dir</i><br> |
| 83 |
<target_site_dir>/policy.inc file, for inclusion in update policy file. |
<target_site_dir>/policy.inc file, for inclusion in update policy file. |
| 84 |
The fragment will map all features from the mirror site to the specified URL.<br> |
The fragment will map all features from the mirror site to the specified URL.<br> |
| 85 |
<br> |
<br> |
| 86 |
The return code for each command is either 0 (success) or 1 (failure). |
The return code for each command is either 0 (success) or 1 (failure).<br> |
| 87 |
<br> |
<br> |
| 88 |
|
Additionally, most <A |
| 89 |
|
href="http://dev.eclipse.org/help21/topic/org.eclipse.platform.doc.user/tasks/running_eclipse.htm">options |
| 90 |
|
accepted by Eclipse executable</A> can be passed. They are especially |
| 91 |
|
useful during debugging and for specifying target environment for installed features. |
| 92 |
|
For example, passing option |
| 93 |
|
<code>-ws gtk</code> |
| 94 |
|
will set windowing system to GTK.<br> |
| 95 |
</body> |
</body> |
| 96 |
</html> |
</html> |