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

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

revision 1.7, Wed Aug 13 17:31:05 2003 UTC revision 1.8, Thu Aug 14 13:12:19 2003 UTC
# Line 10  Line 10 
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>
# Line 24  Line 25 
25  &nbsp;&nbsp;&nbsp; -featureId <i>feature_id </i><br>  &nbsp;&nbsp;&nbsp; -featureId <i>feature_id </i><br>
26  &nbsp;&nbsp;&nbsp; -version <i>version </i><br>  &nbsp;&nbsp;&nbsp; -version <i>version </i><br>
27  &nbsp;&nbsp;&nbsp; -from <i>remote_site_url</i> <br>  &nbsp;&nbsp;&nbsp; -from <i>remote_site_url</i> <br>
28  &nbsp;&nbsp;&nbsp; [-to <i>target_site_url</i>] <br>  &nbsp;&nbsp;&nbsp; [-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>
# Line 43  Line 44 
44   &nbsp;&nbsp;&nbsp; -command enable<br>   &nbsp;&nbsp;&nbsp; -command enable<br>
45   &nbsp;&nbsp;&nbsp; -featureId <i>feature_id </i><br>   &nbsp;&nbsp;&nbsp; -featureId <i>feature_id </i><br>
46   &nbsp;&nbsp;&nbsp; -version <i>version </i><br>   &nbsp;&nbsp;&nbsp; -version <i>version </i><br>
47   &nbsp;&nbsp;&nbsp; [-to <i>target_site_url</i>] <br>   &nbsp;&nbsp;&nbsp; [-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>
# Line 52  Line 53 
53   &nbsp;&nbsp;&nbsp; -command disable<br>   &nbsp;&nbsp;&nbsp; -command disable<br>
54   &nbsp;&nbsp;&nbsp; -featureId <i>feature_id </i><br>   &nbsp;&nbsp;&nbsp; -featureId <i>feature_id </i><br>
55   &nbsp;&nbsp;&nbsp; -version <i>version </i><br>   &nbsp;&nbsp;&nbsp; -version <i>version </i><br>
56   &nbsp;&nbsp;&nbsp; [-to <i>target_site_url</i>] <br>   &nbsp;&nbsp;&nbsp; [-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   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate
68  <br>  <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  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>   &nbsp;&nbsp;&nbsp; -application&nbsp; org.eclipse.update.core.standaloneUpdate
75  <br>  <br>
76  The return code for each command is either 0 (success) or 1 (failure).   &nbsp;&nbsp;&nbsp; -command mirror<br>
77     &nbsp;&nbsp;&nbsp; -from <i>remote_site_url</i> <br>
78     &nbsp;&nbsp;&nbsp; -to <i>target_site_dir</i><br>
79     &nbsp;&nbsp;&nbsp; [-featureId <i>feature_id</i>]<br>
80     &nbsp;&nbsp;&nbsp; [-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>

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8