platform-update-home/doc/working/documentation/standalone_update.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11, Fri Sep 12 15:18:34 2003 UTC revision 1.12, Fri Sep 12 15:56:39 2003 UTC
# Line 15  Line 15 
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   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate<br>   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate<br>
  &nbsp;&nbsp;&nbsp; -nosplash <br>  
  &nbsp;&nbsp;&nbsp; [-vm <i>path to java.exe</i>] <br>  
20   &nbsp;&nbsp;&nbsp; -command install <br>   &nbsp;&nbsp;&nbsp; -command install <br>
21   &nbsp;&nbsp;&nbsp; -featureId <i>feature_id </i><br>   &nbsp;&nbsp;&nbsp; -featureId <i>feature_id </i><br>
22   &nbsp;&nbsp;&nbsp; -version <i>version </i><br>   &nbsp;&nbsp;&nbsp; -version <i>version </i><br>
23   &nbsp;&nbsp;&nbsp; -from <i>remote_site_url</i> <br>   &nbsp;&nbsp;&nbsp; -from <i>remote_site_url</i> <br>
24   &nbsp;&nbsp;&nbsp; [-to <i>target_site_dir</i>] <br>   &nbsp;&nbsp;&nbsp; [-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   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate<br>   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate<br>
  &nbsp;&nbsp;&nbsp; -nosplash <br>  
  &nbsp;&nbsp;&nbsp; [-vm <i>path to java.exe</i>] <br>  
32   &nbsp;&nbsp;&nbsp; -command update<br>   &nbsp;&nbsp;&nbsp; -command update<br>
33   &nbsp;&nbsp;&nbsp; [-featureId <i>feature_id </i>]<br>   &nbsp;&nbsp;&nbsp; [-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   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate<br>   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate<br>
  &nbsp;&nbsp;&nbsp; -nosplash <br>  
  &nbsp;&nbsp;&nbsp; [-vm <i>path to java.exe</i>] <br>  
38   &nbsp;&nbsp;&nbsp; -command enable<br>   &nbsp;&nbsp;&nbsp; -command enable<br>
39   &nbsp;&nbsp;&nbsp; -featureId <i>feature_id </i><br>   &nbsp;&nbsp;&nbsp; -featureId <i>feature_id </i><br>
40   &nbsp;&nbsp;&nbsp; -version <i>version </i><br>   &nbsp;&nbsp;&nbsp; -version <i>version </i><br>
41   &nbsp;&nbsp;&nbsp; [-to <i>target_site_dir</i>] <br>   &nbsp;&nbsp;&nbsp; [-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   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate<br>   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate<br>
  &nbsp;&nbsp;&nbsp; -nosplash <br>  
  &nbsp;&nbsp;&nbsp; [-vm <i>path to java.exe</i>] <br>  
46   &nbsp;&nbsp;&nbsp; -command disable<br>   &nbsp;&nbsp;&nbsp; -command disable<br>
47   &nbsp;&nbsp;&nbsp; -featureId <i>feature_id </i><br>   &nbsp;&nbsp;&nbsp; -featureId <i>feature_id </i><br>
48   &nbsp;&nbsp;&nbsp; -version <i>version </i><br>   &nbsp;&nbsp;&nbsp; -version <i>version </i><br>
49   &nbsp;&nbsp;&nbsp; [-to <i>target_site_dir</i>] <br>   &nbsp;&nbsp;&nbsp; [-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   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate<br>   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate<br>
  &nbsp;&nbsp;&nbsp; -nosplash <br>  
  &nbsp;&nbsp;&nbsp; [-vm <i>path to java.exe</i>] <br>  
54   &nbsp;&nbsp;&nbsp; -command uninstall<br>   &nbsp;&nbsp;&nbsp; -command uninstall<br>
55   &nbsp;&nbsp;&nbsp; -featureId <i>feature_id </i><br>   &nbsp;&nbsp;&nbsp; -featureId <i>feature_id </i><br>
56   &nbsp;&nbsp;&nbsp; -version <i>version </i><br>   &nbsp;&nbsp;&nbsp; -version <i>version </i><br>
# Line 74  Line 64 
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   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate<br>   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate<br>
  &nbsp;&nbsp;&nbsp; -nosplash <br>  
  &nbsp;&nbsp;&nbsp; [-vm <i>path to java.exe</i>] <br>  
69   &nbsp;&nbsp;&nbsp; -command search<br>   &nbsp;&nbsp;&nbsp; -command search<br>
70   &nbsp;&nbsp;&nbsp; -from <i>remote_site_url</i> <br>   &nbsp;&nbsp;&nbsp; -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   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate<br>   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate<br>
  &nbsp;&nbsp;&nbsp; -nosplash <br>  
  &nbsp;&nbsp;&nbsp; [-vm <i>path to java.exe</i>] <br>  
75   &nbsp;&nbsp;&nbsp; -command mirror<br>   &nbsp;&nbsp;&nbsp; -command mirror<br>
76   &nbsp;&nbsp;&nbsp; -from <i>remote_site_url</i> <br>   &nbsp;&nbsp;&nbsp; -from <i>remote_site_url</i> <br>
77   &nbsp;&nbsp;&nbsp; -to <i>target_site_dir</i><br>   &nbsp;&nbsp;&nbsp; -to <i>target_site_dir</i><br>
# Line 97  Line 83 
83  &lt;target_site_dir&gt;/policy.inc file, for inclusion in update policy file.  &lt;target_site_dir&gt;/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>

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12