platform-update-home/doc/Test Scenarios/eclipse update 3.0.html
Parent Directory
|
Revision Log
Revision 1.9 - (view) (download) (as text)
| 1 : | dejan | 1.1 | <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> |
| 2 : | <html> | ||
| 3 : | <head> | ||
| 4 : | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | ||
| 5 : | <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> | ||
| 6 : | </head> | ||
| 7 : | <body> | ||
| 8 : | |||
| 9 : | <h1> | ||
| 10 : | Scenario: Updating Eclipse Install Using Eclipse Update 3.0</h1> | ||
| 11 : | Last Updated: | ||
| 12 : | dejan | 1.9 | <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%A, %B %d, %Y" startspan -->Tuesday, June 24, 2003<!--webbot bot="Timestamp" endspan i-CheckSum="36838" --><p> |
| 13 : | dejan | 1.1 | <i>Note: This is the draft of the new test scenarios that are based on 2.1 |
| 14 : | version but take into account redesigned Eclipse Update user interface. Some of | ||
| 15 : | the old functionality may not be available in the new UI, making some scenarios | ||
| 16 : | obsolete. These scenarios will be clearly marked as such.</i></p> | ||
| 17 : | <h3> | ||
| 18 : | Objectives:</h3> | ||
| 19 : | The objective of these scenarios is to illustrate the Eclipse Update 3.0 | ||
| 20 : | function through simple end-to-end use cases. The scenarios are divided | ||
| 21 : | into two parts.<ul> | ||
| 22 : | <li> | ||
| 23 : | Part-1 exercises updating of Eclipse itself from a test site containing | ||
| 24 : | Eclipse builds repackaged as downloadable features. The Eclipse feature | ||
| 25 : | structure is a reasonable representation of a non-trivial product. It contains | ||
| 26 : | a primary feature (the platform) and a number of other features ( jdt, | ||
| 27 : | pde, etc) and is nested.</li> | ||
| 28 : | |||
| 29 : | <li> | ||
| 30 : | Part-2 uses an example "product" to go through the various steps of updating | ||
| 31 : | and extending it using both the Eclipse Update, as well as native installation | ||
| 32 : | (using .zip file containing features and plug-ins that can be extracted | ||
| 33 : | directly into the file system)</li> | ||
| 34 : | |||
| 35 : | <li> | ||
| 36 : | Part-3 uses an even simpler feature hierarchy to go through more advanced | ||
| 37 : | capabilities that include optional features and emergency fixes.</li> | ||
| 38 : | </ul> | ||
| 39 : | |||
| 40 : | <h2> | ||
| 41 : | Part 1: Updating Eclipse - "One Click" Update</h2> | ||
| 42 : | |||
| 43 : | <h3> | ||
| 44 : | Setup:</h3> | ||
| 45 : | Available sites:<ul> | ||
| 46 : | <li> | ||
| 47 : | <a href="http://download.eclipse.org/updates/">http://update.eclipse.org/testUpdates/</a></li> | ||
| 48 : | </ul> | ||
| 49 : | |||
| 50 : | <table BORDER COLS=1 WIDTH="100%" > | ||
| 51 : | <tr> | ||
| 52 : | <td> | ||
| 53 : | <center><b><font color="#FF0000">*** PLEASE READ *** PLEASE READ *** PLEASE | ||
| 54 : | READ *** PLEASE READ ***</font></b></center> | ||
| 55 : | </td> | ||
| 56 : | </tr> | ||
| 57 : | |||
| 58 : | <tr> | ||
| 59 : | <td><font color="#000000">As part of this scenario you will be downloading | ||
| 60 : | and installing various versions of the Eclipse components into the running | ||
| 61 : | Eclipse. The update site is populated with features that have their version | ||
| 62 : | numbers modified as part of the build process. They are generally of the | ||
| 63 : | form 2.0.0.QUALIFIER, where the qualifier differs build to build. Note, | ||
| 64 : | however, that when you install base Eclipse (.zip downloaded from eclipse.org), | ||
| 65 : | all of its features and plug-ins only use 3 part version identifiers (generally | ||
| 66 : | 2.1.0). So all the 2.1.0.Q updates in fact appear more recent that the | ||
| 67 : | build you are running, even though they may in fact be an older build. | ||
| 68 : | Note, that when you update the Eclipse components from the update site | ||
| 69 : | and restart you may in fact now be running </font><font color="#FF0000">DIFFERENT | ||
| 70 : | CODE THAN WHAT YOU STARTED WITH</font><font color="#000000">. So it is | ||
| 71 : | really important that you start each of the test scenario steps with a | ||
| 72 : | <b>clean install of eclipse</b>. </font><font color="#FF0000">It is suggested | ||
| 73 : | that you always use a second install of Eclipse running with a different | ||
| 74 : | workspace (than what you use to do development) to actually run through | ||
| 75 : | these scenarios.</font><p><font color="#000000">When opening Bugzilla defects, use the | ||
| 76 : | Platform/Update | ||
| 77 : | component. Please ALWAYS specify the failing scenario step, and include | ||
| 78 : | a .zip of the <workspace>/.metadata/ directory</font></td> | ||
| 79 : | </tr> | ||
| 80 : | </table> | ||
| 81 : | |||
| 82 : | <h3> | ||
| 83 : | Steps:</h3> | ||
| 84 : | |||
| 85 : | <ul> | ||
| 86 : | <li> | ||
| 87 : | Install second copy of Eclipse to run these scenarios ... do not use your | ||
| 88 : | development copy of Eclipse for this.</li> | ||
| 89 : | |||
| 90 : | <li> | ||
| 91 : | either use the default workspace created by the second Eclipse copy, or | ||
| 92 : | specify (-data) a new workspace for these scenarios</li> | ||
| 93 : | </ul> | ||
| 94 : | |||
| 95 : | <h4> | ||
| 96 : | A. Startup new Eclipse</h4> | ||
| 97 : | |||
| 98 : | <ul> | ||
| 99 : | <li> | ||
| 100 : | A.1. startup Eclipse. On the initial startup with new workspace you should | ||
| 101 : | see the splash come up, be taken down down, and come up again before it | ||
| 102 : | is finally taken down before the Workbench appears. This is due to Eclipse | ||
| 103 : | restart when new features are detected on startup.</li> | ||
| 104 : | |||
| 105 : | <li> | ||
| 106 : | dejan | 1.2 | A.2 go to <b>Help>About</b> and click [Feature Details] and [Plug-in Details] |
| 107 : | dejan | 1.1 | to see more details of what is actually running. Note the baseline version |
| 108 : | of the various items (most will be 2.1.0)</li> | ||
| 109 : | |||
| 110 : | <li> | ||
| 111 : | dejan | 1.2 | A.3. go to <b>Help> Software Updates> Configuration Manager</b> and verify that the features |
| 112 : | dejan | 1.1 | corresponding to the baseline install appear in the "Eclipse Platform" root |
| 113 : | node.</li> | ||
| 114 : | </ul> | ||
| 115 : | |||
| 116 : | <h4> | ||
| 117 : | <font color="#FF00FF">B. Save baseline configuration [cannot be done in the new | ||
| 118 : | UI]</font></h4> | ||
| 119 : | |||
| 120 : | <ul> | ||
| 121 : | <li> | ||
| 122 : | <font color="#FF00FF">B.1. in "Configuration" view, expand "Configuration History"</font></li> | ||
| 123 : | |||
| 124 : | <li> | ||
| 125 : | <font color="#FF00FF">B.2. select the current configuration (at this point it should be the only | ||
| 126 : | one)</font></li> | ||
| 127 : | |||
| 128 : | <li> | ||
| 129 : | <font color="#FF00FF">B.3. popup menu, Save</font></li> | ||
| 130 : | |||
| 131 : | <li> | ||
| 132 : | <font color="#FF00FF">B.4. expand "Saved Configurations"</font></li> | ||
| 133 : | |||
| 134 : | <li> | ||
| 135 : | <font color="#FF00FF">B.5. select the configuration you have just saved</font></li> | ||
| 136 : | |||
| 137 : | <li> | ||
| 138 : | <font color="#FF00FF">B.6. popup, Properties, change name to "Baseline"</font></li> | ||
| 139 : | |||
| 140 : | <li> | ||
| 141 : | <font color="#FF00FF">B.7 close Update Manager</font></li> | ||
| 142 : | </ul> | ||
| 143 : | |||
| 144 : | <h4> | ||
| 145 : | C. "One Click" update</h4> | ||
| 146 : | |||
| 147 : | <ul> | ||
| 148 : | <li> | ||
| 149 : | C.0. NOTE: you must be connected to the network with access to www.eclipse.org | ||
| 150 : | to perform this step. You will be downloading a full Eclipse SDK drop as part of | ||
| 151 : | this step. So you should have a reasonably fast network connection for this | ||
| 152 : | step. In addition, since 'official' Eclipse update site contains only final | ||
| 153 : | releases, we must redirect update search to pick up integration builds from the | ||
| 154 : | test update site. To do so, open <b>Window>Preferences>Install/Update>Automatic | ||
| 155 : | Updates</b> and paste the following URL into the address mappings entry:<br> | ||
| 156 : | <br> | ||
| 157 : | dejan | 1.9 | <a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/policy.xml">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/policy.xml</a><br> |
| 158 : | dejan | 1.1 | </li> |
| 159 : | |||
| 160 : | <li> | ||
| 161 : | dejan | 1.2 | C.1. select <b>Help>Software Updates>New Updates (Experimental)</b></li> |
| 162 : | dejan | 1.1 | |
| 163 : | <li> | ||
| 164 : | C.2. Make sure that 'Search for updates of the currently installed features' | ||
| 165 : | radio button is selected (the default)</li> | ||
| 166 : | |||
| 167 : | <li> | ||
| 168 : | C.3. wait while eclipse is searching for new updates</li> | ||
| 169 : | |||
| 170 : | <li> | ||
| 171 : | C.3. the search results page should display a new version of eclipse SDK | ||
| 172 : | dejan | 1.2 | pre-selected</li> |
| 173 : | dejan | 1.1 | |
| 174 : | <li> | ||
| 175 : | C.3.1. accept any license agreements</li> | ||
| 176 : | |||
| 177 : | <li> | ||
| 178 : | C.4. click [Finish] and proceed to install the update. When you see feature | ||
| 179 : | verification dialog, click [Install].</li> | ||
| 180 : | |||
| 181 : | <li> | ||
| 182 : | C.5. when you complete the installation, you'll be prompted to restart. | ||
| 183 : | Select [Yes] to restart the platform.</li> | ||
| 184 : | |||
| 185 : | <li> | ||
| 186 : | C.6. workbench should restart automatically</li><ul> | ||
| 187 : | <li> | ||
| 188 : | <b>PLEASE NOTE</b>: at this point you are no longer executing the update | ||
| 189 : | manager code you started with, but rather are running a version of the | ||
| 190 : | update manager that was contained in the update (along with the rest of | ||
| 191 : | the platform plug-ins). Depending on what the update site contained at that | ||
| 192 : | point (changes build to build) the platform may not even restart, and you | ||
| 193 : | may need to reinstall eclipse to continue. Report defects for this (to | ||
| 194 : | make sure there is not actually a legitimate problem) but please be clear | ||
| 195 : | that you failed in step C.6.</li> | ||
| 196 : | </ul> | ||
| 197 : | |||
| 198 : | <li> | ||
| 199 : | C.7. go to Help> About> [Plug-In Details] and [Feature Details] to verify | ||
| 200 : | you are running new version of the platform (the versions for the items | ||
| 201 : | will be 2.1.0.<qualifier>)</li> | ||
| 202 : | |||
| 203 : | <li> | ||
| 204 : | dejan | 1.2 | C.8. Go to Help> Software Updates> Configuration Manager, expand "Current Configuration" |
| 205 : | dejan | 1.1 | and verify you now recognize the new version of the platform that was updated</li> |
| 206 : | </ul> | ||
| 207 : | |||
| 208 : | <h4> | ||
| 209 : | D. Restoring Original Configuration</h4> | ||
| 210 : | |||
| 211 : | <ul> | ||
| 212 : | <li> | ||
| 213 : | D.1. Select <b>Help>Software Updates>Configuration Manager</b> to open the | ||
| 214 : | configuration manager window.</li> | ||
| 215 : | <li> | ||
| 216 : | D.2 Select the current configuration object (the root node) and choose 'Revert | ||
| 217 : | dejan | 1.2 | to previous' (alternatively, select the link with the same name from the list of tasks |
| 218 : | dejan | 1.1 | on the right).</li> |
| 219 : | |||
| 220 : | <li> | ||
| 221 : | D.3. When the wizard opens, a list of past configurations should show up (sorted | ||
| 222 : | dejan | 1.2 | by date in descending order). The previous configuration (first from the top) |
| 223 : | will be pre-selected.</li> | ||
| 224 : | dejan | 1.1 | |
| 225 : | <li> | ||
| 226 : | D.4. press [Finish]</li> | ||
| 227 : | |||
| 228 : | <li> | ||
| 229 : | D.5. A message about required workbench restart will open. Accept it.</li> | ||
| 230 : | |||
| 231 : | <li> | ||
| 232 : | dejan | 1.2 | D.6. workbench should restart automatically. Open Configuration Manager again. |
| 233 : | dejan | 1.1 | <font color="#FF00FF">[note: we should investigate if we can remember the state |
| 234 : | and do this automatically]</font></li> | ||
| 235 : | |||
| 236 : | <li> | ||
| 237 : | D.7. expand the root node and verify all configured features | ||
| 238 : | are the baseline feature versions (generally 2.1.0)</li> | ||
| 239 : | |||
| 240 : | <li> | ||
| 241 : | D.8. click "Show Disabled Features" button in the toolbar of the Configuration | ||
| 242 : | Manager. Observe the updated version as disabled.</li> | ||
| 243 : | |||
| 244 : | <li> | ||
| 245 : | D.9. go to <b>Help>About</b> dialog, [Plug-In Details] and verify you are in | ||
| 246 : | dejan | 1.2 | fact running the baseline plug-ins (all 2.1.0, except for the "special cases" |
| 247 : | dejan | 1.1 | like Xerces, Ant, Lucene, Tomcat, etc)</li> |
| 248 : | |||
| 249 : | <li> | ||
| 250 : | D.10. shut down the workbench</li> | ||
| 251 : | </ul> | ||
| 252 : | |||
| 253 : | <h2> | ||
| 254 : | Part 2: Alphabet Soup</h2> | ||
| 255 : | |||
| 256 : | <h3> | ||
| 257 : | Setup:</h3> | ||
| 258 : | Available sites: | ||
| 259 : | <ul> | ||
| 260 : | <li> | ||
| 261 : | <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/site/index.html">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/site/</a></li> | ||
| 262 : | </ul> | ||
| 263 : | The above site contains pre-built features used as part of the following | ||
| 264 : | scenario steps. It also includes several .zip files (containing features | ||
| 265 : | and plug-ins) that are used to simulate native installer steps.<br> | ||
| 266 : | <table BORDER COLS=1 WIDTH="100%" > | ||
| 267 : | <tr> | ||
| 268 : | <td> | ||
| 269 : | <center><b><font color="#FF0000">*** PLEASE READ *** PLEASE READ *** PLEASE | ||
| 270 : | READ *** PLEASE READ ***</font></b></center> | ||
| 271 : | </td> | ||
| 272 : | </tr> | ||
| 273 : | |||
| 274 : | <tr> | ||
| 275 : | <td><font color="#000000">When opening Bugzilla defects, use the Platform/Update | ||
| 276 : | component. Please ALWAYS specify the failing scenario step, and include | ||
| 277 : | a .zip of the <workspace>/.metadata/ directory</font></td> | ||
| 278 : | </tr> | ||
| 279 : | </table> | ||
| 280 : | |||
| 281 : | <h3> | ||
| 282 : | Description:</h3> | ||
| 283 : | The Alphabet Soup is a simple application packaged as an Eclipse product, | ||
| 284 : | plus several extensions. The application installs a tool button, and a | ||
| 285 : | menu ("Alphabet Soup") that can be used to query the content of the "soup | ||
| 286 : | bowl" and interact with the individual installed "letters" (each letter | ||
| 287 : | in the bowl corresponds to a separate plug-in) | ||
| 288 : | <ul> | ||
| 289 : | <li> | ||
| 290 : | base product is a nested feature, my.alphabet, containing two sub-features | ||
| 291 : | with base sets of "letters"</li> | ||
| 292 : | |||
| 293 : | <li> | ||
| 294 : | 3 extension features containing additional "letters" (plug-ins). The features | ||
| 295 : | have a dependency relationship as follows:</li> | ||
| 296 : | |||
| 297 : | <ul> | ||
| 298 : | <li> | ||
| 299 : | "round letters" extension pack requires the base to be installed</li> | ||
| 300 : | |||
| 301 : | <li> | ||
| 302 : | "straight letters" extension pack requires "round letters" extension pack | ||
| 303 : | to be installed</li> | ||
| 304 : | |||
| 305 : | <li> | ||
| 306 : | "numbers" extension pack requires both "round letters" extension pack and | ||
| 307 : | "straight letters" extension pack to be installed</li> | ||
| 308 : | </ul> | ||
| 309 : | </ul> | ||
| 310 : | Just follow the steps and you'll get the idea.<h3> | ||
| 311 : | Steps:</h3> | ||
| 312 : | |||
| 313 : | <ul> | ||
| 314 : | <li> | ||
| 315 : | Install second copy of Eclipse to run these scenarios ... do not use your | ||
| 316 : | development copy of Eclipse for this.</li> | ||
| 317 : | |||
| 318 : | <li> | ||
| 319 : | either use the default workspace created by the second Eclipse copy, or | ||
| 320 : | specify (-data) a new workspace for these scenarios</li> | ||
| 321 : | </ul> | ||
| 322 : | |||
| 323 : | <h4> | ||
| 324 : | O. Completing the install</h4> | ||
| 325 : | |||
| 326 : | <ul> | ||
| 327 : | <li> | ||
| 328 : | O.1. after you have installed baseline eclipse, unzip the Alphabet Soup | ||
| 329 : | product features from <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/site/native/my.alphabet_1.0.0.zip">my.alphabet_1.0.0.zip</a> | ||
| 330 : | into the eclipse/ installation directory. The unzip should overwrite the | ||
| 331 : | install.ini file that is packaged with Eclipse (sets the Alphabet Soup | ||
| 332 : | feature as the primary feature). The product feature .zips can be found | ||
| 333 : | in <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/site/native/">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/site/native/</a></li> | ||
| 334 : | |||
| 335 : | <li> | ||
| 336 : | O.2. start eclipse .... after "Completing the install ..." the platform | ||
| 337 : | restarts as "Alphabet Soup" application (own Welcome, About)</li> | ||
| 338 : | |||
| 339 : | <li> | ||
| 340 : | O.3. Click on the "Alphabet Soup" button in the tool bar ... you should | ||
| 341 : | have letters A, B, C and E (all 1.0.0) in your bowl.</li> | ||
| 342 : | |||
| 343 : | <li> | ||
| 344 : | O.4. Go to the "Alphabet Soup" menu and verify you can interact with each | ||
| 345 : | letter (one action per letter on the menu)</li> | ||
| 346 : | |||
| 347 : | <li> | ||
| 348 : | dejan | 1.2 | O.5. Open Help> Software Updates> Configuration Manager</li> |
| 349 : | dejan | 1.1 | |
| 350 : | <li> | ||
| 351 : | dejan | 1.2 | O.6. Expand "Alphabet Soup". Verify "Alphabet Soup 1.0.0" is configured, |
| 352 : | dejan | 1.1 | and it contains 2 sub-features (Round and Straight letters)</li> |
| 353 : | |||
| 354 : | <li> | ||
| 355 : | dejan | 1.2 | O.7. click on each of the features and view more details about each feature |
| 356 : | (double-click for Properties, follow 'More Info...' hyperlink etc.).</li> | ||
| 357 : | dejan | 1.1 | |
| 358 : | <li> | ||
| 359 : | O.8. select "Alphabet Soup 1.0.0" and press [Disable]. You should be notified | ||
| 360 : | that you cannot disable the primary feature (if this is not the case, [Cancel] | ||
| 361 : | the disable action and report a defect).</li> | ||
| 362 : | </ul> | ||
| 363 : | |||
| 364 : | <h4> | ||
| 365 : | dejan | 1.2 | P. Updating the primary feature using new updates wizard</h4> |
| 366 : | dejan | 1.1 | |
| 367 : | <ul> | ||
| 368 : | <li> | ||
| 369 : | dejan | 1.2 | P.1. Open <b>Help>Software Updates>New Updates</b>. Select 'Search for new |
| 370 : | features to install'. Check "Alphabet Soup Update Site" from the list and expand | ||
| 371 : | it. Uncheck all categories except "Alphabet Soup". Press 'Next'.</li> | ||
| 372 : | dejan | 1.1 | |
| 373 : | <li> | ||
| 374 : | dejan | 1.2 | P.2. When the search is over, you should see three versions Alphabet Soup: |
| 375 : | 1.0.1, 1.1.0 and 2.0.0.</li> | ||
| 376 : | dejan | 1.1 | |
| 377 : | <li> | ||
| 378 : | dejan | 1.2 | P.3. Select "Alphabet Soup 1.0.1" and press 'Next'. Go through the install |
| 379 : | dejan | 1.1 | wizard accepting defaults.</li> |
| 380 : | |||
| 381 : | <li> | ||
| 382 : | dejan | 1.2 | P.4. Restart the workbench when prompted. Open Configuration Manager.</li> |
| 383 : | dejan | 1.1 | |
| 384 : | <li> | ||
| 385 : | dejan | 1.2 | P.5. Expand "Alphabet Soup" .... verify you now have Alphabet Soup |
| 386 : | dejan | 1.1 | 1.0.1 installed and configured.</li> |
| 387 : | |||
| 388 : | <li> | ||
| 389 : | P.6. Click the "Show disabled features" filter button .... should see both | ||
| 390 : | versions (one enabled, the other disabled (icon with red "stop" | ||
| 391 : | overlay))</li> | ||
| 392 : | |||
| 393 : | <li> | ||
| 394 : | P.7. click the "Alphabet Soup" tool button ... should show new versions | ||
| 395 : | of the base letters (1.0.1). The actions on "Alphabet Soup" menu should | ||
| 396 : | also indicate we are running the new version.</li> | ||
| 397 : | |||
| 398 : | <li> | ||
| 399 : | dejan | 1.2 | P.8. shut down the workbench</li> |
| 400 : | dejan | 1.1 | </ul> |
| 401 : | |||
| 402 : | <h4> | ||
| 403 : | Q. Updating the primary feature using "native" install (.zip)</h4> | ||
| 404 : | |||
| 405 : | <ul> | ||
| 406 : | <li> | ||
| 407 : | Q.1. unzip the Alphabet Soup product features from <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/site/native/my.alphabet_1.1.0.zip">my.alphabet_1.1.0.zip</a> | ||
| 408 : | into the eclipse/ installation directory (look into the features/ or plugins/ | ||
| 409 : | subdirectory to verify you see new 1.1.0 versions)</li> | ||
| 410 : | |||
| 411 : | <li> | ||
| 412 : | Q.2. start Eclipse (a.k.a. Alphabet Soup). You'll see the splash coming | ||
| 413 : | up twice as the platform is updating the configuration. Workbench will | ||
| 414 : | come up, with a dialog informing you have changes. Click [OK] to open the | ||
| 415 : | update manager change dialog.</li> | ||
| 416 : | |||
| 417 : | <li> | ||
| 418 : | Q.3. check the change (so it is applied) and press [Finish]</li> | ||
| 419 : | |||
| 420 : | <li> | ||
| 421 : | Q.4. restart the workbench when prompted</li> | ||
| 422 : | |||
| 423 : | <li> | ||
| 424 : | Q.5. click the "Alphabet Soup" tool button and trigger "Alphabet Soup" | ||
| 425 : | menu action to see you have the new version (1.1.0) of the "soup bowl and | ||
| 426 : | letters"</li> | ||
| 427 : | |||
| 428 : | <li> | ||
| 429 : | dejan | 1.2 | Q.6. Open Configuration Manager expand "Alphabet Soup". Should see |
| 430 : | dejan | 1.1 | Alphabet Soup 1.1.0 enabled, and the other 2 disabled (click the |
| 431 : | "Show disabled features").</li> | ||
| 432 : | </ul> | ||
| 433 : | |||
| 434 : | <h4> | ||
| 435 : | <font color="#000000">R. Adding an extension using the update manager</font></h4> | ||
| 436 : | |||
| 437 : | <ul> | ||
| 438 : | <li> | ||
| 439 : | dejan | 1.3 | <font color="#000000">R.1. </font>Open <b>Help>Software Updates>New Updates</b>. Select 'Search for new |
| 440 : | features to install'. Check "Alphabet Soup Update Site" from the list and expand | ||
| 441 : | it. Uncheck all categories except "Alphabet Soup Fun Pack - Round Letters". Press 'Next'.</li> | ||
| 442 : | dejan | 1.1 | |
| 443 : | <li> | ||
| 444 : | dejan | 1.3 | <font color="#000000">R.2. check "Alphabet Soup Round Letters Extension |
| 445 : | Pack 1.0.0" and press [Next]. Accept defaults in wizard and [Finish]. | ||
| 446 : | dejan | 1.1 | Restart workbench when prompted.</font></li> |
| 447 : | |||
| 448 : | <li> | ||
| 449 : | <font color="#000000">R.3. click of the "Alphabet Soup" tool button and | ||
| 450 : | interact with "Alphabet Soup" menu to see new round letters (D and G). | ||
| 451 : | <b>Note:</b> | ||
| 452 : | may need to go to Window> Customize Perspective...> Other and select the | ||
| 453 : | action sets for the new letters</font></li> | ||
| 454 : | |||
| 455 : | <li> | ||
| 456 : | dejan | 1.3 | <font color="#000000">R.4. open Configuration Manager and verify the |
| 457 : | dejan | 1.1 | new feature is showing as configured.</font></li> |
| 458 : | |||
| 459 : | <li> | ||
| 460 : | dejan | 1.3 | <font color="#000000">R.5. close the Configuration Manager and shut down the workbench</font></li> |
| 461 : | dejan | 1.1 | </ul> |
| 462 : | |||
| 463 : | <h4> | ||
| 464 : | <font color="#000000">S. Adding an extension using "native" install (.zip) | ||
| 465 : | and link file</font></h4> | ||
| 466 : | |||
| 467 : | <ul> | ||
| 468 : | <li> | ||
| 469 : | <font color="#000000">S.0. <b>Note</b>: the first 3 steps will typically | ||
| 470 : | be performed by a native installer. Since you are simulating these steps | ||
| 471 : | you need to do this manually.</font></li> | ||
| 472 : | |||
| 473 : | <li> | ||
| 474 : | <font color="#000000">S.1. Set up a new install directory somewhere in | ||
| 475 : | your file system. Create eclipse/ subdirectory under it. U</font>nzip the | ||
| 476 : | Alphabet Soup Straight Letters extension from <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/site/native/my.alphabet.more.straight.letters_1.0.0.zip">my.alphabet.more.straight.letters_1.0.0.zip</a> | ||
| 477 : | into the eclipse/ subdirectory. You should end up with</li> | ||
| 478 : | |||
| 479 : | <ul> | ||
| 480 : | <li> | ||
| 481 : | <some new install directory>/</li> | ||
| 482 : | |||
| 483 : | <br> eclipse/ | ||
| 484 : | <br> | ||
| 485 : | features/ | ||
| 486 : | <br> | ||
| 487 : | plugins/</ul> | ||
| 488 : | |||
| 489 : | <li> | ||
| 490 : | S.2. In the original eclipse install (the one that contains the platform | ||
| 491 : | and Alphabet Soup), create a new directory called "links" as a peer to | ||
| 492 : | features/ and plugins/. You should end up with</li> | ||
| 493 : | |||
| 494 : | <ul> | ||
| 495 : | <li> | ||
| 496 : | <eclipse platform install directory>/</li> | ||
| 497 : | |||
| 498 : | <br> eclipse/ | ||
| 499 : | <br> | ||
| 500 : | links/ | ||
| 501 : | <br> features/ | ||
| 502 : | <br> | ||
| 503 : | plugins/</ul> | ||
| 504 : | |||
| 505 : | <li>S.3. within the links/ subdirectory, create a file called my.alphabet.link | ||
| 506 : | and add a single line into it</li> <br> | ||
| 507 : | <br> | ||
| 508 : | <font face="Courier New"> <font size="2">path=<some new | ||
| 509 : | install directory> </font></font> | ||
| 510 : | <p><b>Note</b>: the path should be an absolute path using local file system | ||
| 511 : | syntax. The .link file is loaded as a Java properties file, so on Windows | ||
| 512 : | you need to double up the back-slashes (e.g. path=c:\\temp\\install) </li> | ||
| 513 : | <li> | ||
| 514 : | S.4. start eclipse (Alphabet Soup). You'll see the splash coming up twice | ||
| 515 : | as the platform is updating the configuration. Workbench will come up, | ||
| 516 : | dejan | 1.3 | with a dialog informing you have changes. Click [OK] to open the Pending Changes dialog.</li> |
| 517 : | dejan | 1.1 | |
| 518 : | <li> | ||
| 519 : | S.5. check the change (so it is applied) and press [Finish]</li> | ||
| 520 : | |||
| 521 : | <li> | ||
| 522 : | S.6. restart the workbench when prompted</li> | ||
| 523 : | |||
| 524 : | <li> | ||
| 525 : | S.7. click the "Alphabet Soup" tool button and trigger "Alphabet Soup" | ||
| 526 : | menu action to see you have the new letters.</li> | ||
| 527 : | |||
| 528 : | <br><b>Note</b>: may need to go to Window> Customize Perspective...> Other | ||
| 529 : | and select the new letters to get the menu actions to become visible | ||
| 530 : | <br><b>Note</b>: if you are following all the steps in the scenario, the | ||
| 531 : | base letters (A, B, C, E) should be at 1.1.0, and the extensions (D, G) | ||
| 532 : | (F, H) at 1.0.0 | ||
| 533 : | <li> | ||
| 534 : | dejan | 1.3 | S.8. Open Configuration Manager and expand "Alphabet Soup". You should see |
| 535 : | a new site representing the extension install (different icon), and it should contain the | ||
| 536 : | dejan | 1.1 | extension feature you've installed.</li> |
| 537 : | <li> | ||
| 538 : | S.9. Click on the new extension, and disable it in the Preview view. After | ||
| 539 : | restart, verify that all the features and plug-ins from the extension are | ||
| 540 : | missing. Enable it and verify that they are back after the restart.</li> | ||
| 541 : | </ul> | ||
| 542 : | |||
| 543 : | <h4> | ||
| 544 : | dejan | 1.3 | <font color="#FF00FF">T. Installing another extension using the update manager (with environment |
| 545 : | filtering) [this cannot be done with the new UI]</font></h4> | ||
| 546 : | dejan | 1.1 | |
| 547 : | <ul> | ||
| 548 : | <li> | ||
| 549 : | dejan | 1.3 | <font color="#FF00FF">T.1. expand "Sites to Visit", "Alphabet Soup Update |
| 550 : | dejan | 1.1 | Site", "Alphabet Soup Fun Pack - Numbers"</font></li> |
| 551 : | |||
| 552 : | <li> | ||
| 553 : | dejan | 1.3 | <font color="#FF00FF">T.2. The Numbers extension specifies an OS in its |
| 554 : | dejan | 1.1 | feature definition. The update site contains features for Win and Linux. |
| 555 : | On those two platforms you should see a list of features designated for | ||
| 556 : | than platform. On other platforms you are out of luck ... you don't get | ||
| 557 : | to play with numbers (skip the rest of this step)</font></li> | ||
| 558 : | |||
| 559 : | <li> | ||
| 560 : | dejan | 1.3 | <font color="#FF00FF">T.3. uncheck the "Show matching features only" filter |
| 561 : | dejan | 1.1 | .... should now see all the features for both platforms. Check the filter |
| 562 : | back again.</font></li> | ||
| 563 : | |||
| 564 : | <li> | ||
| 565 : | dejan | 1.3 | <font color="#FF00FF">T.4. select "Alphabet Soup Numbers Extension Pack |
| 566 : | dejan | 1.1 | for <OS>1.0.1" and click [Install]. Accept defaults in wizard. In the |
| 567 : | location selection page ensure the extension location created in steps | ||
| 568 : | S is not offered as a choice. Press [Finish]. Restart workbench when prompted.</font></li> | ||
| 569 : | |||
| 570 : | <li> | ||
| 571 : | dejan | 1.3 | <font color="#FF00FF">T.5. click of the "Alphabet Soup" tool button and |
| 572 : | dejan | 1.1 | interact with "Alphabet Soup" menu to see new numbers (3 and 5). <b>Note:</b> |
| 573 : | may need to go to Window> Customize Perspective...> Other and select the | ||
| 574 : | action sets for the new numbers</font></li> | ||
| 575 : | |||
| 576 : | <li> | ||
| 577 : | dejan | 1.3 | <font color="#FF00FF">T.6. expand Current Configuration and verify the |
| 578 : | dejan | 1.1 | new feature is showing as configured in the original install site</font></li> |
| 579 : | |||
| 580 : | <li> | ||
| 581 : | dejan | 1.3 | <font color="#FF00FF">T.7. close the update manager and shut down the workbench</font></li> |
| 582 : | dejan | 1.1 | </ul> |
| 583 : | |||
| 584 : | <h4> | ||
| 585 : | <font color="#000000">"Free-form" testing</font></h4> | ||
| 586 : | |||
| 587 : | <ul> | ||
| 588 : | <li> | ||
| 589 : | <font color="#000000">the above scenarios describe a path through the update | ||
| 590 : | support. Run through it once as described. There is lot's of opportunity | ||
| 591 : | dejan | 1.3 | to do thing in different order, click on other buttons, try other features |
| 592 : | dejan | 1.1 | in the UI. Go ahead an explore. Remember, is you see something that does |
| 593 : | not work, is not correct, or is not what you'd expected, open Bugzilla | ||
| 594 : | defects in the platform/update component. Please ALWAYS specify the steps | ||
| 595 : | leading up to the failure, and include a .zip of the <workspace>/.metadata/ | ||
| 596 : | directory</font></li> | ||
| 597 : | </ul> | ||
| 598 : | |||
| 599 : | <h2> | ||
| 600 : | Part 3: Optional features and e-fixes</h2> | ||
| 601 : | |||
| 602 : | <h3> | ||
| 603 : | Setup:</h3> | ||
| 604 : | <p>Available sites:</p> | ||
| 605 : | <ul> | ||
| 606 : | <li> | ||
| 607 : | <a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/optionalSite/">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/optionalSite/</a></li> | ||
| 608 : | </ul> | ||
| 609 : | <p>The above site contains pre-built features used as part of the following | ||
| 610 : | scenario steps.<br> </p> | ||
| 611 : | <table BORDER COLS=1 WIDTH="100%" > | ||
| 612 : | <tr> | ||
| 613 : | <td> | ||
| 614 : | <center> | ||
| 615 : | <p><b><font color="#FF0000">*** PLEASE READ *** PLEASE READ *** PLEASE | ||
| 616 : | READ *** PLEASE READ ***</font></b></p> | ||
| 617 : | </center> | ||
| 618 : | </td> | ||
| 619 : | </tr> | ||
| 620 : | |||
| 621 : | <tr> | ||
| 622 : | <td><font color="#000000">When opening Bugzilla defects, use the Platform/Update | ||
| 623 : | component. Please ALWAYS specify the failing scenario step, and include | ||
| 624 : | a .zip of the <workspace>/.metadata/ directory. Note that we ran out of | ||
| 625 : | letters, so we are starting from A again. You need to include the part number | ||
| 626 : | when specifying steps (e.g. 3.A7)</font></td> | ||
| 627 : | </tr> | ||
| 628 : | </table> | ||
| 629 : | |||
| 630 : | <h3> | ||
| 631 : | Description:</h3> | ||
| 632 : | <p>The Optional Site is a simple site that contains several versions of the | ||
| 633 : | 'Root' feature. The feature includes another feature (XYZBogus) that in turn | ||
| 634 : | includes features XYZ and Bogus. The last two features are included as optional, | ||
| 635 : | which means that users can elect not to install them. Several interesting | ||
| 636 : | consequences result from this capability, and this part deals with them.</p> | ||
| 637 : | <p>The site also contains several e-fixes. E-fix is a feature that is designed | ||
| 638 : | to patch another feature with an exact ID and version. It is used to deliver | ||
| 639 : | temporary fixes between full root updates.</p> | ||
| 640 : | <h2>A. Installing feature Root 1.0.0</h2> | ||
| 641 : | dejan | 1.3 | <p>A1. Open New Updates wizard. Select 'Search for new features to install'. |
| 642 : | Press [Add Update Site...] and paste the URL listed above under 'Available | ||
| 643 : | Sites:' (also choose some name).<br> | ||
| 644 : | A2. Check the newly created site and press [Next]. Check the feature Root 1.0.0 | ||
| 645 : | from the list of results. Press [Next].<br> | ||
| 646 : | dejan | 1.1 | A3. Accept the license in the License page.<br> |
| 647 : | A4. Uncheck 'XYZ 1.0.0' optional feature in the Optional Features page. Leave | ||
| 648 : | 'Bogus 1.0.0' feature selected.<br> | ||
| 649 : | A5. Install (accept unsigned feature). Restart.<br> | ||
| 650 : | dejan | 1.3 | A6. Using Configuration Manager, verify that 'Root 1.0.0' feature has been installed and that 'XYZ 1.0.0' is |
| 651 : | missing.<br> | ||
| 652 : | A7. Verify that | ||
| 653 : | dejan | 1.1 | 'XYZ 1.0.0' is shown and marked as '(not installed')<br> |
| 654 : | A8. If you want to stop being warned about unsigned features, toggle the option | ||
| 655 : | off in the Install/Update preferences. Verify that you are warned about the | ||
| 656 : | consequences (rogue features deleting your entire hard drive and such).</p> | ||
| 657 : | <h2>B. Updating Root 1.0.0 to Root 1.0.1</h2> | ||
| 658 : | dejan | 1.3 | <p>B1. Open New Updates wizard. Select 'Search for new features to install'. |
| 659 : | Check 'Optional site' created in A1. Press [Next]. Verify that 'Root 1.0.0' is | ||
| 660 : | not present (should be filtered out since it is already installed). Check 'Root 1.0.1'. | ||
| 661 : | Press [Next].<br> | ||
| 662 : | dejan | 1.1 | B2. After accepting the license, verify that features 'XYZBogus' and 'Bogus' are |
| 663 : | checked and grayed out in 'Optional Features' page, while 'XYZ' plug-ins is | ||
| 664 : | dejan | 1.8 | unchecked (leave it unchecked). Install and restart.<br> |
| 665 : | B3. Using Configuration Manager, verify that we now have Root 1.0.1 installed that is still without XYZ | ||
| 666 : | dejan | 1.3 | feature (XYZ 1.0.1 shows as 'not installed').</p> |
| 667 : | dejan | 1.1 | <h2>C. Preserving the state of the optional feature</h2> |
| 668 : | <p>C1. Close Eclipse. Manually delete all 'com.example.*' features from the | ||
| 669 : | features/ directory and all 'com.example.*' plug-ins from the plugins/ | ||
| 670 : | directory. Delete the '.config' directory in the .metadata directory of the | ||
| 671 : | workspace (you want to preserve the bookmark).<br> | ||
| 672 : | C2. Repeat scenario A but this time leave all the optional features selected.<br> | ||
| 673 : | C3. Restart and open current configuration. Verify that all the features are | ||
| 674 : | showing as enabled.<br> | ||
| 675 : | C4. Select 'XYZ 1.0.0' feature and select 'Disable' button in the preview. | ||
| 676 : | Restart.<br> | ||
| 677 : | C5. Verify that 'XYZ 1.0.0' feature is now disabled in the 'Root 1.0.0' | ||
| 678 : | hierarchy (you will need to make disabled features visible in the view to do | ||
| 679 : | dejan | 1.8 | that).<br> |
| 680 : | C6. Open the New Updates wizard, press [Next], [Next], find Root 1.0.1 feature, | ||
| 681 : | dejan | 1.3 | press [Next].<br> |
| 682 : | dejan | 1.1 | C7. After accepting the license, leave all settings default and install the new |
| 683 : | version. Restart.<br> | ||
| 684 : | C8. Verify that 'Root 1.0.1' is now installed, and that 'XYZBogus 1.0.1' and | ||
| 685 : | 'Bogus 1.0.1' are showing in the hierarchy. Also verify that 'XYZ 1.0.1' is <b> | ||
| 686 : | installed but disabled </b>(we are testing whether the original state of XYZ | ||
| 687 : | 1.0.0 was preserved during the update). The expected outcome is that the new | ||
| 688 : | version of XYZ is installed but it remains disabled as before.</p> | ||
| 689 : | dejan | 1.3 | <h2><font color="#FF00FF">D1. Installing the missing optional feature (from the originating site) |
| 690 : | [cannot be done in the new UI]</font></h2> | ||
| 691 : | <p><font color="#FF00FF">D1.1. Repeat cleanup as in C1.<br> | ||
| 692 : | dejan | 1.1 | D1.2. Repeat the scenario A.<br> |
| 693 : | dejan | 1.3 | D1.3. After the restart, go back to the Updates view and select Root 1.0.0 again. Verify that |
| 694 : | the action button is visible and that the label is "Change". Press it.<br> | ||
| 695 : | dejan | 1.1 | D1.4. When in 'Optional Features' wizard page, ensure that 'Bogus 1.0.0' |
| 696 : | optional feature is checked and grayed out. Select 'XYZ 1.0.0' feature. Finish | ||
| 697 : | the install. Restart.<br> | ||
| 698 : | D1.5. Verify that we now have all the features in 'Root 1.0.0' hierarchy in the | ||
| 699 : | dejan | 1.3 | current configuration.</font></p> |
| 700 : | dejan | 1.1 | <h2>D2. Installing the missing optional feature (using the saved originating |
| 701 : | site URL)</h2> | ||
| 702 : | dejan | 1.3 | <p><font color="#FF00FF">D2.1. After finishing D1., delete XYZ 1.0.0 feature and XYZ 1.0.0 plug-in |
| 703 : | dejan | 1.1 | manually from <b>features</b> and <b>plugins</b> directories, respectively.<br> |
| 704 : | dejan | 1.3 | </font>D2.1(new) Perform D1.1 and D1.2 steps to install Root 1.0.0 without XYZ |
| 705 : | 1.0.0.<br> | ||
| 706 : | D2.2. After restart, open Configuration Manager. Select 'XYZ 1.0.0' feature object (should be | ||
| 707 : | dejan | 1.1 | shown as 'not installed').<br> |
| 708 : | dejan | 1.3 | D2.3. Verify that the 'Install from originating server' hyperlink is shown in the |
| 709 : | list of tasks on the right. Select it.<br> | ||
| 710 : | dejan | 1.1 | D2.4. When the install wizard shows up, follow it until XYZ 1.0.0 plug-in is |
| 711 : | installed. <font color="#0000FF">Cool: missing optional feature reference has a | ||
| 712 : | preserved URL of the originating site that it can use to reconnect and install | ||
| 713 : | it later.</font></p> | ||
| 714 : | dejan | 1.7 | <p><font color="#FF0000">Bug #38273:</font> <font color="#0000FF"> |
| 715 : | dejan | 1.6 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=38273">[new UI] Part |
| 716 : | 3,D2.3: 'Install from originating server' does not work</a></font></p> | ||
| 717 : | dejan | 1.1 | <h2>E. Discovering missing optional feature</h2> |
| 718 : | <p>E1. Manually copy 'com.example.xyz_1.0.0' from 'features' directory and | ||
| 719 : | 'com.example.xyz_1.0.0' from 'plugins' directory into a temp. place. After that, | ||
| 720 : | repeat cleanup as in C1.<br> | ||
| 721 : | E2. Repeat the scenario A and verify that XYZ 1.0.0 is missing from the | ||
| 722 : | configuration (shown as 'not installed').<br> | ||
| 723 : | E3. Close Eclipse. Manually copy 'com.example.xyz_1.0.0' feature from the temp. | ||
| 724 : | space into the 'features' directory and 'com.example.xyz_1.0.0' plug-in from the | ||
| 725 : | temp. space into the 'plugins' directory. Start Eclipse.<br> | ||
| 726 : | E4. Verify that no dialog was shown and that feature XYZ 1.0.0 was detected and | ||
| 727 : | configured into the hierarchy of 'Root 1.0.0'.</p> | ||
| 728 : | <h2>F. Installing missing optional features natively after updates</h2> | ||
| 729 : | <p>F1. Repeat preservation + cleanup as in E1.<br> | ||
| 730 : | F2. Repeat the scenario A.<br> | ||
| 731 : | dejan | 1.4 | F3. Open the 'New Updates' wizard and select 'Search for updates of the |
| 732 : | currently installed features'. The wizard | ||
| 733 : | should discover feature 'Root 1.0.1' plus some e-fixes. Check Root 1.0.1 only | ||
| 734 : | and press [Next]. Accept the license and finish install. | ||
| 735 : | dejan | 1.1 | Restart.<br> |
| 736 : | F4. At this point, we should have installed Root 1.0.1 with XYZBogus 1.0.1 and | ||
| 737 : | dejan | 1.4 | Bogus 1.0.1, but not XYZ 1.0.1.<br> |
| 738 : | dejan | 1.1 | F5. Manually copy feature XYZ 1.0.0 from the temp space and plug-in XYZ 1.0.0 |
| 739 : | from the temp space as in E3. <br> | ||
| 740 : | F6. At this point, verify that XYZ 1.0.0 is present in the hierarchy of XYZ | ||
| 741 : | 1.0.0 but disabled because Root 1.0.0 is disabled.<br> | ||
| 742 : | dejan | 1.4 | F7. Run the 'one-click' update again as in F3. It should discover Root 1.0.1 |
| 743 : | dejan | 1.1 | again because we now have previous version of XYZ and it can now bring it up to |
| 744 : | dejan | 1.4 | 1.0.1. Reinstall Root 1.0.1 and restart.<br> |
| 745 : | dejan | 1.1 | F8. Verify in the configuration that XYZ 1.0.1 is now installed and enabled.</p> |
| 746 : | <p><font color="#0000FF">Note: as you go through the the scenarios G, H and I | ||
| 747 : | that deal with e-fixes, it is recommended to increase the coverage by switching | ||
| 748 : | between multiple workspaces (install couple of e-fixes, then start with a new | ||
| 749 : | workspace, install some more, create a new workspace, install some more, than | ||
| 750 : | switch back to the first one). Since state is stored in each workspace, that | ||
| 751 : | will give Update an additional workout to reconcile its state with changes in | ||
| 752 : | the file system (both partial and full reconcilers will kick in).</font></p> | ||
| 753 : | <h2>G1. Cumulative patches</h2> | ||
| 754 : | <p>G1.1 Repeat steps C1, C2 and C3 to install Root 1.0.0 feature hierarchy. | ||
| 755 : | Verify that all Root features (including optional ones) are installed.<br> | ||
| 756 : | dejan | 1.7 | G1.2 Open New Updates and search for updates for installed features. A number of |
| 757 : | e-fixes should show up. Locate feature EFIX e334 1.0.0. Make sure it is the only | ||
| 758 : | feature checked and press [Next]. Install it by accepting all the defaults.<br> | ||
| 759 : | G1.3 After restart, use Configuration Manager to verify that EFIX e334 has been installed and that it | ||
| 760 : | dejan | 1.1 | includes XYZ 1.0.0.e334. The same XYZ feature should be included by Root |
| 761 : | 1.0.0->XYZ Bogus 1.0.0 (should show up arrow indicating branch update). There | ||
| 762 : | should be no errors or warnings.<br> | ||
| 763 : | dejan | 1.7 | G1.4 Repeat G1.2. This time, EFIX e334 should not show up. Locate feature EFIX e335 1.0.0. |
| 764 : | Uncheck all other features, check it and install it. <i>Note: e335 | ||
| 765 : | dejan | 1.1 | is a cumulative fix because it fixes a problem in XYZ 1.0.0 and also includes a |
| 766 : | fix in e334.<br> | ||
| 767 : | dejan | 1.7 | </i>G1.5 After restart, use Configuration Manager to verify that e335 has been installed and that it includes |
| 768 : | dejan | 1.1 | XYZ 1.0.0.e335. The same XYZ feature should be included by Root 1.0.0->XYZ Bogus |
| 769 : | 1.0.0 (should show up arrow indicating branch update). <br> | ||
| 770 : | G1.6 <b>The same XYZ 1.0.0.e335 should also show up as a child of EFIX e334</b>. | ||
| 771 : | The interpretation is that XYZ 1.0.0.e335 also includes a fix for e334, so the | ||
| 772 : | fact that the previous version has been disabled does not invalidate EFIX e334.</p> | ||
| 773 : | <h2>G2. Patches that include other patches</h2> | ||
| 774 : | <p>G2.1. Repeat steps C1, C2 and C3 to install Root 1.0.0 feature hierarchy. | ||
| 775 : | Verify that all Root features (including optional ones) are installed.<br> | ||
| 776 : | dejan | 1.7 | G2.2. Search for updates to installed features using New Updates wizard. Locate feature EFIX e452 1.0.0. |
| 777 : | Uncheck all other features, check it and install it.<br> | ||
| 778 : | dejan | 1.1 | G2.3. After restart, verify that: EFIX e452 is installed; its child feature e388 |
| 779 : | should include Bogus Feature 1.0.0.e388. The same Bogus Feature should be | ||
| 780 : | included by Root 1.0.0 hierarchy. There should be no errors or warnings.<br> | ||
| 781 : | dejan | 1.7 | <font color="#FF00FF">G2.4. Expand 'Saved Configurations' folder. Verify that a backup configuration |
| 782 : | dejan | 1.1 | for e452 has been created (backup configurations have label in format "@<id_version> |
| 783 : | dejan | 1.7 | backup". [This cannot be done in the new UI]</font></p> |
| 784 : | dejan | 1.1 | <h2>H. Updating feature branches with partial patch cleanup</h2> |
| 785 : | <p>H1. After installing patch e452 in scenario G2, search for new updates by | ||
| 786 : | dejan | 1.8 | selecting 'Window->Updates->New Updates' (ensure that the first radio |
| 787 : | button is selected). <br> | ||
| 788 : | H2. When the search finishes, uncheck the checkbox | ||
| 789 : | dejan | 1.1 | 'Filter features included ...'. Uncheck "Root 1.0.1" and check "XYZBogus 1.0.1" |
| 790 : | from the list of search results. <font color="#0000FF">Cool: this demonstrates | ||
| 791 : | how branches in the feature hierarchy can be individually updated.</font><br> | ||
| 792 : | H3. Accept the license agreement and install the feature.<br> | ||
| 793 : | H4. After restart, verify that Root 1.0.0 now includes XYZBogus 1.0.1 (<font color="#0000FF">Cool: | ||
| 794 : | XYZBogus 1.0.1 image should have an upward pointing arrow overlay indicating | ||
| 795 : | that the feature has been updated from the original version specified in the | ||
| 796 : | Root 1.0.0 manifest</font>). Also verify that e388 does not show up anywhere, | ||
| 797 : | but EFIX e452 should still be present in the configuration.</p> | ||
| 798 : | <p><font color="#0000FF">Note: Technically, since EFIX e452 includes EFIX e388 | ||
| 799 : | and since e388 is now disabled because XYZBogus 1.0.1 is updated, EFIX e452 | ||
| 800 : | should show error status (missing included feature). Update performs additional | ||
| 801 : | computation in this case to find if e452 is really broken. The fact is that even | ||
| 802 : | though the referenced feature e388 is disabled, it is a patch for XYZBogus 1.0.0 | ||
| 803 : | which has since been upgraded. Updates makes a (daring) assumption that a formal | ||
| 804 : | update for a feature includes all the patches published for a previous version | ||
| 805 : | of that feature. In this particular case, Update assumes that XYZBogus 1.0.1, | ||
| 806 : | being an update to XYZBogus 1.0.0, contains all the fixes registered for | ||
| 807 : | XYZBogus 1.0.0, including e388. It concludes that EFIX e452 will indirectly | ||
| 808 : | satisfy its need for e388 through XYZBogus 1.0.1 code.</font></p> | ||
| 809 : | dejan | 1.8 | <p><font color="#FF0000">Bug #3840:</font> |
| 810 : | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=38340">[new UI] Part3,H4: | ||
| 811 : | EFIX e452 is not configured properly</a></p> | ||
| 812 : | dejan | 1.1 | <h2>I. Updating feature root with patch cleanup</h2> |
| 813 : | <p>I1. After updating XYZBogus in scenario H, search for updates again. This | ||
| 814 : | dejan | 1.8 | time, choose Root 1.0.1 and install it.<br> |
| 815 : | dejan | 1.1 | I2. After restart, verify that Root 1.0.1 is installed and that all the included |
| 816 : | features are version 1.0.1. Also verify that there are no e-fixes left enabled | ||
| 817 : | in the configuration.<br> | ||
| 818 : | I3. Open file ".install-log" in <workspace>/.metadata/.config/ and verify that | ||
| 819 : | it contains logs of all the activities performed in scenarios G, H and I.</p> | ||
| 820 : | <h2>J. Handling cross-site version conflicts</h2> | ||
| 821 : | <p>The role of this scenario is to show how cross-site conflicts are handled. | ||
| 822 : | Cross-site conflicts are caused by root features in separate install sites that | ||
| 823 : | include features of the same ID but different versions. Since both features will | ||
| 824 : | be configured and their plug-ins contributed to the Eclipse runtime, runtime | ||
| 825 : | will resolve the duplication by selecting plug-ins with the higher version. | ||
| 826 : | Update warns about this 'silent' upgrade when an attempt is made to install or | ||
| 827 : | update a feature that can cause such a conflict to appear.</p> | ||
| 828 : | <ul> | ||
| 829 : | <li>Available sites: <a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/extensionSite/">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/extensionSite/</a></li> | ||
| 830 : | </ul> | ||
| 831 : | <p>J1. Repeat cleanup as in C1.<br> | ||
| 832 : | J2. Select "Optional Site" bookmark as in A1 and install Root 1.0.0 with all the | ||
| 833 : | optional features. Restart.<br> | ||
| 834 : | J3. Add another bookmark called "Extension Site" with the URL as shown above.<br> | ||
| 835 : | J4. Expand the bookmark object and select feature "Root Extension 1.0.0". Press | ||
| 836 : | "Install" button.<br> | ||
| 837 : | J5. Accept the license and select both the optional features for install.<br> | ||
| 838 : | J6. Do not accept the default target install site. Instead, create a new one by | ||
| 839 : | pressing "Add" button. Choose a location outside the Eclipse product tree | ||
| 840 : | (anywhere else on the disk). Press "Finish". Restart.<br> | ||
| 841 : | J7. Verify that the current configuration has two install sites. The first one | ||
| 842 : | should contain Eclipse features and Root 1.0.0. The second one (the one you | ||
| 843 : | picked in J6) should contain Root Product Extension 1.0.0. There should be no | ||
| 844 : | conflicts.<br> | ||
| 845 : | J8. Search for new updates by selecting "Window->Updates->New Updates". You | ||
| 846 : | should get two results: Root 1.0.1 and Root Extension 1.0.1. Uncheck Root 1.0.1. | ||
| 847 : | Press "Next" and accept all other default settings until "Finish" is enabled. | ||
| 848 : | Press Finish".<br> | ||
| 849 : | J9. Verify that a warning dialog is opened explaining the conflict. The conflict | ||
| 850 : | should be caused by XYZ and Bogus features that will be 1.0.0 in one site and | ||
| 851 : | 1.0.1 in another if the update proceeds. Answer "No".<br> | ||
| 852 : | J10. Return back to the first page of the wizard and select both results (Root | ||
| 853 : | 1.0.1 and Root Extension 1.0.1). Advance to the last page and press "Finish" | ||
| 854 : | again. This time, there should be no conflicts because both XYZ and Bogus | ||
| 855 : | features will be simultaneously updated to version 1.0.1.<br> | ||
| 856 : | J11. After restart, verify that the current configuration shows no warning | ||
| 857 : | overlays.</p> | ||
| 858 : | dejan | 1.8 | <h2><font color="#FF00FF">[The following steps don't work in the new UI]</font></h2> |
| 859 : | <h2><font color="#FF00FF">K. Web-triggered updates</font></h2> | ||
| 860 : | <p><font color="#FF00FF">Update Manager has a neat feature whereby it can run a Web application and | ||
| 861 : | dejan | 1.1 | accept calls from a browser with the right URL. Tasks like presentation, search, |
| 862 : | classification, user verification etc. can all be handled by the provider's web | ||
| 863 : | site (presumably running a Web application itself). Features and plug-ins are | ||
| 864 : | still in the standard update sites, but these sites are used as feature servers. | ||
| 865 : | When users click on 'Download' or similar buttons or links, a URL query is | ||
| 866 : | composed and sent to Eclipse with the Update Web application running. Update | ||
| 867 : | servlet receives the query and initiates the install process. At this point, we | ||
| 868 : | dejan | 1.8 | are in the familiar install wizard.</font></p> |
| 869 : | <font color="#FF00FF">Available sites: </font> | ||
| 870 : | dejan | 1.1 | <ul> |
| 871 : | dejan | 1.8 | <li><a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/optionalSite/index.html"> |
| 872 : | <font color="#FF00FF">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/optionalSite/index.html</font></a><font color="#FF00FF"> | ||
| 873 : | </font> | ||
| 874 : | dejan | 1.1 | </li> |
| 875 : | </ul> | ||
| 876 : | dejan | 1.8 | <p><font color="#FF00FF">K1. Repeat the cleanup as in Part 3,C1.<br> |
| 877 : | dejan | 1.1 | K2. Open "Preferences" dialog and select "Install/Update->Web-triggered updates" |
| 878 : | page. Turn the web application on. When pressing "OK" there will be a couple of | ||
| 879 : | seconds delay (starting the Tomcat server).<br> | ||
| 880 : | K3. Open Update Manager and create a new site bookmark using the URL listed | ||
| 881 : | above. When in the wizard, choose the non-default 'Web site' bookmark type. | ||
| 882 : | Finish.<br> | ||
| 883 : | K4. Double-click on the bookmark to cause the External Preview view to open | ||
| 884 : | (note: this is only on Windows; on other platform, the page will open in a | ||
| 885 : | standalone Web browser).<br> | ||
| 886 : | K5. You should see a page with two Download buttons. Press on the Download | ||
| 887 : | button for Root 1.0.0. Verify that a progress monitor dialog opens while | ||
| 888 : | connecting to the feature server. Eventually, Install Wizard should show up. | ||
| 889 : | Follow it to install Root 1.0.0.<br> | ||
| 890 : | K6. After restart, double-click on the Web link again and click on the | ||
| 891 : | 'Download' button for Root 1.0.0. This time, a problem response page should show | ||
| 892 : | up indicating that the requested feature is already installed.<br> | ||
| 893 : | K7. Click on the 'Download' button for the feature Root 1.0.1. This one should | ||
| 894 : | be treated as an update. Follow it to the end and restart.<br> | ||
| 895 : | dejan | 1.8 | K8. Verify that the configuration shows the correct features.</font></p> |
| 896 : | dejan | 1.1 | |
| 897 : | dejan | 1.8 | <h2><font color="#FF00FF">L. Updates view clipboard operations</font></h2> |
| 898 : | dejan | 1.1 | |
| 899 : | dejan | 1.8 | <p><font color="#FF00FF">L1. The following objects in the Updates view support clipboard operations: |
| 900 : | dejan | 1.1 | site bookmarks, folders and searches. Spend some time creating new bookmarks, |
| 901 : | folders and searches, and rearranging them using both clipboard (cut/copy/paste) | ||
| 902 : | dejan | 1.8 | and direct manipulation (drag and drop) methods.</font></p> |
| 903 : | dejan | 1.1 | |
| 904 : | </body> | ||
| 905 : | </html> |
| help@eclipse.org | ViewVC Help |
| Powered by ViewVC 1.0.3 |
