platform-update-home/doc/working/documentation/standalone_update.html
Parent Directory
|
Revision Log
Revision 1.10 -
(download)
(as text)
(annotate)
Fri Sep 12 15:10:49 2003 UTC (6 years, 2 months ago) by dbirsan
Branch: MAIN
Changes since 1.9: +5 -0 lines
Fri Sep 12 15:10:49 2003 UTC (6 years, 2 months ago) by dbirsan
Branch: MAIN
Changes since 1.9: +5 -0 lines
*** empty log message ***
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Standalone update</title>
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
</head>
<body>
<h3>Standalone update</h3>
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.<br>
You can also, mirror chosen features from an update site to a local update site mirror.<br>
<br>
Launch eclipse as follows, where [ ] means optional argument and arguments in italics must be provided by the user.<br>
<br>
<b>Installing a feature from a remote site</b>:<br>
eclipse <br>
-application org.eclipse.update.core.standaloneUpdate<br>
-nosplash <br>
[-vm <i>path to java.exe</i>] <br>
-command install <br>
-featureId <i>feature_id </i><br>
-version <i>version </i><br>
-from <i>remote_site_url</i> <br>
[-to <i>target_site_dir</i>] <br>
<p>
<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>
</p>
<br>
<b>Updating an existing feature or all features</b>:<br>
eclipse <br>
-application org.eclipse.update.core.standaloneUpdate<br>
-nosplash <br>
[-vm <i>path to java.exe</i>] <br>
-command update<br>
[-featureId <i>feature_id </i>]<br>
<br>
<b>Enabling (configuring) a specified feature:</b><br>
eclipse <br>
-application org.eclipse.update.core.standaloneUpdate<br>
-nosplash <br>
[-vm <i>path to java.exe</i>] <br>
-command enable<br>
-featureId <i>feature_id </i><br>
-version <i>version </i><br>
[-to <i>target_site_dir</i>] <br>
<br>
<b>Disabling (unconfiguring) a specified feature:</b><br>
eclipse <br>
-application org.eclipse.update.core.standaloneUpdate<br>
-nosplash <br>
[-vm <i>path to java.exe</i>] <br>
-command disable<br>
-featureId <i>feature_id </i><br>
-version <i>version </i><br>
[-to <i>target_site_dir</i>] <br>
<br>
<b>Uninstalling a specified feature:</b><br>
eclipse <br>
-application org.eclipse.update.core.standaloneUpdate<br>
-nosplash <br>
[-vm <i>path to java.exe</i>] <br>
-command uninstall<br>
-featureId <i>feature_id </i><br>
-version <i>version </i><br>
[-to <i>target_site_dir</i>] <br>
<br>
In all the above commands where the -to target_site_dir is specified, corresponding
configured target site at given directory will be used. If it is not specified,
then the default local product site is used.<br>
<br>
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,
then add <b><em>-verifyOnly=true</em></b> to the list of arguments.<br>
<br><b>Searching a remote site, listing all available features for install:</b><br>
eclipse <br>
-application org.eclipse.update.core.standaloneUpdate<br>
-nosplash <br>
[-vm <i>path to java.exe</i>] <br>
-command search<br>
-from <i>remote_site_url</i> <br>
<br>
<b>Mirroring feature(s) from a remote site:</b><br>
eclipse <br>
-application org.eclipse.update.core.standaloneUpdate<br>
-nosplash <br>
[-vm <i>path to java.exe</i>] <br>
-command mirror<br>
-from <i>remote_site_url</i> <br>
-to <i>target_site_dir</i><br>
[-featureId <i>feature_id</i>]<br>
[-version <i>version</i>]<br>
[-siteURL <i>target_site_url</i>]<br>
<br>
If -siteURL is specified, a fragment of policy file will be generated in
<target_site_dir>/policy.inc file, for inclusion in update policy file.
The fragment will map all features from the mirror site to the specified URL.<br>
<br>
The return code for each command is either 0 (success) or 1 (failure).
<br>
</body>
</html>
| help@eclipse.org | ViewVC Help |
| Powered by ViewVC 1.0.3 |
