| 36 |
|
|
| 37 |
<p>into folder <i> D:\eclipseTestSite2</i></p> |
<p>into folder <i> D:\eclipseTestSite2</i></p> |
| 38 |
|
|
| 39 |
<p>(URL for installing the same set of features, but from http site:<br> |
<p>(FYI: URL for installing the same set of features, but from http site:<br> |
| 40 |
<i>http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/projects/org.eclipse.update.tests.jarred.site/</i>)<br> |
<i> |
| 41 |
|
<a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/projects/org.eclipse.update.tests.jarred.site/">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/projects/org.eclipse.update.tests.jarred.site/</a></i>)<br> |
| 42 |
<br> |
<br> |
| 43 |
Now, to register the extension with our eclipse install, create the links |
Now, to register the extension with our eclipse install, create the links |
| 44 |
subfolder in the eclipse installation directory: <i> |
subfolder in the eclipse installation directory: <i> |
| 82 |
// Skipping this.<br> |
// Skipping this.<br> |
| 83 |
<br> |
<br> |
| 84 |
</p> |
</p> |
| 85 |
<h4>Update Policy</h4> |
<h4>4. Update Policy</h4> |
| 86 |
<p>An update policy file allows features to be updated from a different update |
<p>An update policy file allows features to be updated from a different update |
| 87 |
site, particularly from a site hosted inside the local network.</p> |
site, particularly from a site hosted inside the local network.</p> |
| 88 |
<p> |
<p> |
| 92 |
into this directory.<br> |
into this directory.<br> |
| 93 |
Download zipped updated site from<br> |
Download zipped updated site from<br> |
| 94 |
<a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/3.0/org.eclipse.update.tests.patches.site.zip">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/3.0/org.eclipse.update.tests.patches.site.zip</a><br> |
<a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/3.0/org.eclipse.update.tests.patches.site.zip">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/3.0/org.eclipse.update.tests.patches.site.zip</a><br> |
| 95 |
into this directory.<br> |
into this directory. Do NOT unzip.<br> |
| 96 |
If you use a different directory name, edit policy file and fill in the correct |
If you use a different directory name, edit policy file and fill in the correct |
| 97 |
path.<br> |
path.<br> |
| 98 |
(URL for installing the same set of features, but from http site:<br> |
(FYI: URL for installing the same set of features, but from http site:<br> |
| 99 |
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/projects/org.eclipse.update.tests.patches.site/)<br> |
<a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/projects/org.eclipse.update.tests.patches.site/">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/projects/org.eclipse.update.tests.patches.site/</a>)<br> |
| 100 |
<br> |
<br> |
| 101 |
Start Eclipse<br> |
Start Eclipse, if not already started.<br> |
| 102 |
Open Windows -> Preferences -> Install/Update, fill in Update Policy URL as:<br> |
From the menu, open Windows -> Preferences -> Install/Update, fill in Update Policy URL as:<br> |
| 103 |
file:///D:/eclipseTestPolicy/zippedPatchesPolicy.xml<br> |
<a href="file:///D:/eclipseTestPolicy/zippedPatchesPolicy.xml">file:///D:/eclipseTestPolicy/zippedPatchesPolicy.xml</a></p> |
| 104 |
Help -> Software Updates -> Find and Install.<br> |
<p> |
| 105 |
Click next, select SDK patch, accept license, click finish.<br> |
From the menu, launch the install wizard:<br> |
| 106 |
Accept unsigned jar.<br> |
Help -> Software Updates -> Find and Install.</p> |
| 107 |
After installation, confirm dialog to restart.<br> |
<p> |
| 108 |
|
-Click next, select SDK patch, accept license, click finish.<br> |
| 109 |
|
-Accept unsigned jar.<br> |
| 110 |
|
-After installation, confirm dialog to restart.<br> |
| 111 |
|
</p> |
| 112 |
|
<p> |
| 113 |
|
4.1) |
| 114 |
Verify Eclipse restarted.<br> |
Verify Eclipse restarted.<br> |
| 115 |
|
4.2) |
| 116 |
In Help -> Software Updates -> Manage Configuration, verify SDK patch containing |
In Help -> Software Updates -> Manage Configuration, verify SDK patch containing |
| 117 |
Platform and PDE patches are installed.<br> |
Platform and PDE patches are installed.<br> |
| 118 |
|
4.3) |
| 119 |
In Help -> About -> Feature Details, verify both original features (SDK, |
In Help -> About -> Feature Details, verify both original features (SDK, |
| 120 |
Platform, PDE) and 3 patch features are listed.<br> |
Platform, PDE) and 3 patch features are listed.<br> |
| 121 |
|
4.4) |
| 122 |
Select SDK patch, click Plugin Details, verify feature does not contain any |
Select SDK patch, click Plugin Details, verify feature does not contain any |
| 123 |
plugins. Click OK<br> |
plugins. Click OK<br> |
| 124 |
|
4.5) |
| 125 |
Select Platform patch, click Plugin Details, verify feature contains osgi, help, |
Select Platform patch, click Plugin Details, verify feature contains osgi, help, |
| 126 |
update configurator plugins version 3.0.0.patch1. Click OK<br> |
update configurator plugins version 3.0.0.patch1. Click OK<br> |
| 127 |
|
4.6) |
| 128 |
Select PDE patch, click Plugin Details, verify feature contains PDE UI plugin |
Select PDE patch, click Plugin Details, verify feature contains PDE UI plugin |
| 129 |
version 3.0.0.patch1. Click OK.<br> |
version 3.0.0.patch1. Click OK.<br> |
| 130 |
|
4.7) |
| 131 |
Click OK again to go back to About dialog, click Plugin Details.<br> |
Click OK again to go back to About dialog, click Plugin Details.<br> |
| 132 |
|
|
| 133 |
Verify eclipse runs version 3.0.0.patch1 of org.eclipse.help, org.eclipse.osgi, |
Verify eclipse runs version 3.0.0.patch1 of org.eclipse.help, org.eclipse.osgi, |
| 134 |
org.eclipse.pde.ui, and org.eclipse.update.configurator plug-in.<br> |
org.eclipse.pde.ui, and org.eclipse.update.configurator plug-in.</p> |
| 135 |
|
<p> |
| 136 |
Close all open dialogs. Exit eclipse.<br> |
Close all open dialogs. Exit eclipse.<br> |
| 137 |
<br> |
<br> |
| 138 |
Change policy in D:/eclipseTestPolicy/zippedPatchesPolicy.xml to use<br> |
Change policy in D:/eclipseTestPolicy/zippedPatchesPolicy.xml to use<br> |
| 139 |
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/projects/org.eclipse.update.tests.patches.site/<br> |
<a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/projects/org.eclipse.update.tests.patches.site/">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/projects/org.eclipse.update.tests.patches.site/</a><br> |
| 140 |
for updates - install from http.<br> |
for updates/install from http.</p> |
| 141 |
|
<p> |
| 142 |
|
-Start eclipse and launch the install wizard again: |
| 143 |
Help -> Software Updates -> Find and Install.<br> |
Help -> Software Updates -> Find and Install.<br> |
| 144 |
Click next, select PDE patch2, accept license, click finish, restart.<br> |
-Click next, select PDE patch2, accept license, click finish, restart.</p> |
| 145 |
|
<p> |
| 146 |
|
4.8) |
| 147 |
Check if D:\eclipseTest\eclipse\plugins\org.eclipse.pde.ui_3.0.0.patch2 contains |
Check if D:\eclipseTest\eclipse\plugins\org.eclipse.pde.ui_3.0.0.patch2 contains |
| 148 |
same number of files as<br> |
same number of files as<br> |
| 149 |
|
|
| 150 |
D:\eclipseTest\eclipse\plugins\org.eclipse.pde.ui_3.0.0.patch2.<br> |
D:\eclipseTest\eclipse\plugins\org.eclipse.pde.ui_3.0.0.patch2.<br> |
| 151 |
In Help -> Software Updates -> Manage Configuration, verify PDE patch2 |
4.9) i n Help -> Software Updates -> Manage Configuration, verify PDE patch2 |
| 152 |
installed.<br> |
installed.<br> |
| 153 |
In Help -> About -> Feature Details, verify both original PDE feature and |
4.10) in Help -> About -> Feature Details, verify both original PDE feature and |
| 154 |
org.eclipse.pde.patch2 is installed.<br> |
org.eclipse.pde.patch2 is installed.<br> |
| 155 |
Click OK to go back to About dialog, click Plugin Details.<br> |
4.11) |
| 156 |
Verify eclipse runs version 3.0.0.patch2 of org.eclipse.pde.ui plug-in.<br> |
Click OK to go back to About dialog, click Plugin Details. |
| 157 |
|
Verify eclipse runs version 3.0.0.patch2 of org.eclipse.pde.ui plug-in.</p> |
| 158 |
|
<p> |
| 159 |
Close all open dialogs. Exit eclipse.<br> |
Close all open dialogs. Exit eclipse.<br> |
| 160 |
|
</p> |
| 161 |
|
<h4> |
| 162 |
|
5. Revert configuration</h4> |
| 163 |
|
<p> |
| 164 |
<br> |
<br> |
| 165 |
|
5.1) |
| 166 |
In Help -> Software Updates -> Manage Configuration, right click Eclipse |
In Help -> Software Updates -> Manage Configuration, right click Eclipse |
| 167 |
product, choose Revert... from the popup menu.<br> |
product, choose Revert... from the popup menu.<br> |
| 168 |
|
5.2) |
| 169 |
Pick original configuration (before starting update tests), click finish, |
Pick original configuration (before starting update tests), click finish, |
| 170 |
confirm restart.<br> |
confirm restart.<br> |
| 171 |
|
5.3) |
| 172 |
In Help -> About -> Feature Details, verify no patches are enabled.<br> |
In Help -> About -> Feature Details, verify no patches are enabled.<br> |
| 173 |
Click OK to go back to About dialog, click Plugin Details.<br> |
5.4) |
| 174 |
Verify eclipse runs original version of plugins (usually 3.0.0).<br> |
Click OK to go back to About dialog, click Plugin Details.Verify eclipse runs original version of plugins (usually 3.0.0).<br> |
| 175 |
<br> |
<br> |
| 176 |
<br> |
<br> |
| 177 |
Do "One click" Update suite.<br> |
Do "One click" Update suite.<br> |