platform-update-home/doc/Test Scenarios/eclipse update.html
Parent Directory
|
Revision Log
Revision 1.9 - (view) (download) (as text)
| 1 : | vlad | 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="Mozilla/4.72 [en] (Windows NT 5.0; U) [Netscape]"> | ||
| 6 : | </head> | ||
| 7 : | <body> | ||
| 8 : | |||
| 9 : | vlad | 1.2 | <h1> |
| 10 : | Scenario: Updating Eclipse Install Using The Update Manager</h1> | ||
| 11 : | vlad | 1.8 | Last Updated: June 2, 2002 9:45PM |
| 12 : | vlad | 1.1 | <h3> |
| 13 : | Objectives:</h3> | ||
| 14 : | vlad | 1.3 | The objective of these scenarios is to illustrate the Eclipse update manager |
| 15 : | vlad | 1.4 | function through simple end-to-end use cases. The scenarios are divided |
| 16 : | vlad | 1.7 | into two parts. |
| 17 : | vlad | 1.2 | <ul> |
| 18 : | <li> | ||
| 19 : | Part-1 excercises updating of Eclipse itself from a test site containing | ||
| 20 : | Eclipse builds repackaged as downloadable features. The Eclipse feature | ||
| 21 : | structure is a reasonable representation of a non-trivial product. It contains | ||
| 22 : | a primary feature (the platform) and a number of other features ( jdt, | ||
| 23 : | vlad | 1.7 | pde, etc) and is nested.</li> |
| 24 : | vlad | 1.2 | |
| 25 : | <li> | ||
| 26 : | Part-2 uses an example "product" to go through the various steps of updating | ||
| 27 : | and extending it using both the update manager, as well as native installation | ||
| 28 : | (using .zip file containing features and plugins that can be extracted | ||
| 29 : | directly into the file system)</li> | ||
| 30 : | </ul> | ||
| 31 : | |||
| 32 : | <h2> | ||
| 33 : | vlad | 1.8 | Part 1: Updating Eclipse - "One Click" Update</h2> |
| 34 : | vlad | 1.2 | |
| 35 : | vlad | 1.1 | <h3> |
| 36 : | Setup:</h3> | ||
| 37 : | Available sites: | ||
| 38 : | <ul> | ||
| 39 : | <li> | ||
| 40 : | <a href="http://download.eclipse.org/updates/">http://download.eclipse.org/updates/</a></li> | ||
| 41 : | vlad | 1.2 | </ul> |
| 42 : | vlad | 1.1 | |
| 43 : | <table BORDER COLS=1 WIDTH="100%" > | ||
| 44 : | <tr> | ||
| 45 : | <td> | ||
| 46 : | <center><b><font color="#FF0000">*** PLEASE READ *** PLEASE READ *** PLEASE | ||
| 47 : | READ *** PLEASE READ ***</font></b></center> | ||
| 48 : | </td> | ||
| 49 : | </tr> | ||
| 50 : | |||
| 51 : | <tr> | ||
| 52 : | vlad | 1.3 | <td><font color="#000000">As part of this scenario you will be downloading |
| 53 : | vlad | 1.1 | and installing various versions of the Eclipse components into the running |
| 54 : | vlad | 1.3 | Eclipse. The update site is populated with features that have their version |
| 55 : | vlad | 1.1 | numbers modified as part of the build process. They are generally of the |
| 56 : | form 2.0.0.QUALIFIER, where the qualifier differs build to build. Note, | ||
| 57 : | vlad | 1.3 | however, that when you install base Eclipse (.zip downloaded from eclipse.org), |
| 58 : | all of its features and plugins only use 3 part version identifiers (generally | ||
| 59 : | 2.0.0). So all the 2.0.0.Q updates in fact appear more recent that the | ||
| 60 : | build you are running, even though they may in fact be an older build. | ||
| 61 : | Note, that when you update the Eclipse components from the update site | ||
| 62 : | and restart you may in fact now be running </font><font color="#FF0000">DIFFERENT | ||
| 63 : | CODE THAN WHAT YOU STARTED WITH</font><font color="#000000">. So it is | ||
| 64 : | vlad | 1.9 | really important that you start each of the test scenario steps with a |
| 65 : | clean install of eclipse. </font><font color="#FF0000">It is suggested | ||
| 66 : | that you always use a second install of Eclipse running with a different | ||
| 67 : | workspace (than what you use to do development) to actually run through | ||
| 68 : | these scenarios.</font> | ||
| 69 : | vlad | 1.1 | <p><font color="#000000">When openning Bugzilla defects, use the platform/update |
| 70 : | vlad | 1.2 | component. Please ALWAYS specify the failing scenario step, and include |
| 71 : | a .zip of the <workspace>/.metadata/ directory</font></td> | ||
| 72 : | vlad | 1.1 | </tr> |
| 73 : | </table> | ||
| 74 : | |||
| 75 : | <h3> | ||
| 76 : | Steps:</h3> | ||
| 77 : | |||
| 78 : | <ul> | ||
| 79 : | <li> | ||
| 80 : | Install second copy of Eclipse to run these scenarios ... do not use your | ||
| 81 : | development copy of Eclipse for this.</li> | ||
| 82 : | |||
| 83 : | <li> | ||
| 84 : | either use the default workspace created by the second Eclipse copy, or | ||
| 85 : | specify (-data) a new workspace for these scenarios</li> | ||
| 86 : | </ul> | ||
| 87 : | |||
| 88 : | <h4> | ||
| 89 : | A. Startup new Eclipse</h4> | ||
| 90 : | |||
| 91 : | <ul> | ||
| 92 : | <li> | ||
| 93 : | A.1. startup Eclipse. On the initial startup with new workspace you should | ||
| 94 : | see the splash come up, be taken down down, and come up again before it | ||
| 95 : | is finally taken down before the Workbench appears. This is due to Eclipse | ||
| 96 : | restart when new features are detected on startup.</li> | ||
| 97 : | |||
| 98 : | <li> | ||
| 99 : | vlad | 1.8 | A.2 go to Help> About and click [About Features] and [About Plugins] to |
| 100 : | see more details of what is actually running. Note the baseline version | ||
| 101 : | of the various items (most will be 2.0.0)</li> | ||
| 102 : | |||
| 103 : | <li> | ||
| 104 : | A.3. go to Help> Software Updates> Update Manager and verify that the features | ||
| 105 : | corresponding to the baseline install appear in the "Current Configuration"</li> | ||
| 106 : | vlad | 1.1 | </ul> |
| 107 : | |||
| 108 : | <h4> | ||
| 109 : | B. Save baseline configuration</h4> | ||
| 110 : | |||
| 111 : | <ul> | ||
| 112 : | <li> | ||
| 113 : | B.1. in "Configuration" view, expand "Configuration History"</li> | ||
| 114 : | |||
| 115 : | <li> | ||
| 116 : | B.2. select the current configuration (at this point it should be the only | ||
| 117 : | one)</li> | ||
| 118 : | |||
| 119 : | <li> | ||
| 120 : | B.3. popup menu, Save</li> | ||
| 121 : | |||
| 122 : | <li> | ||
| 123 : | B.4. expand "Saved Configurations"</li> | ||
| 124 : | |||
| 125 : | <li> | ||
| 126 : | B.5. select the configuration you have just saved</li> | ||
| 127 : | |||
| 128 : | <li> | ||
| 129 : | B.6. popup, Properties, change name to "Baseline"</li> | ||
| 130 : | |||
| 131 : | <li> | ||
| 132 : | vlad | 1.8 | B.7 close update manager</li> |
| 133 : | vlad | 1.1 | </ul> |
| 134 : | |||
| 135 : | vlad | 1.8 | <h4> |
| 136 : | C. "One Click" update</h4> | ||
| 137 : | vlad | 1.1 | |
| 138 : | <ul> | ||
| 139 : | <li> | ||
| 140 : | vlad | 1.8 | C.0. NOTE: you must be connected to the network with access to www.eclipse.org |
| 141 : | to perform this step. You will be downloading a full eclipse sdk drop as | ||
| 142 : | part of this step. So you should have a reasonably fast network connection | ||
| 143 : | for this step.</li> | ||
| 144 : | vlad | 1.1 | |
| 145 : | <li> | ||
| 146 : | vlad | 1.8 | C.1. select Help> Software Updates> New Updates</li> |
| 147 : | vlad | 1.1 | |
| 148 : | <li> | ||
| 149 : | vlad | 1.8 | C.2. wait while eclipse is searching for new updates</li> |
| 150 : | vlad | 1.1 | |
| 151 : | <li> | ||
| 152 : | vlad | 1.8 | C.3. the search results page should display a new version of eclipse SDK |
| 153 : | preselected</li> | ||
| 154 : | vlad | 1.1 | |
| 155 : | <li> | ||
| 156 : | vlad | 1.8 | C.4. click [Finish] and proceed to install the update. When you see feature |
| 157 : | verification dialog, click [Install Feature].</li> | ||
| 158 : | vlad | 1.1 | |
| 159 : | <li> | ||
| 160 : | vlad | 1.8 | C.5. when you complete the installation, you'll be prompter to restart. |
| 161 : | Select [OK] to restart the platform</li> | ||
| 162 : | vlad | 1.1 | |
| 163 : | <li> | ||
| 164 : | vlad | 1.8 | C.6. workbench should restart automatically</li> |
| 165 : | vlad | 1.1 | |
| 166 : | <ul> | ||
| 167 : | <li> | ||
| 168 : | vlad | 1.8 | <b>PLEASE NOTE</b>: at this point you are no longer executing the update |
| 169 : | manager code you started with, but rather are running a version of the | ||
| 170 : | update manager that was contained in the update (along with the rest of | ||
| 171 : | the platform plugins). Depending on what the update site contained at that | ||
| 172 : | point (changes build to build) the platform may not even restart, and you | ||
| 173 : | may need to reinstall eclipse to continue. Report defects for this (to | ||
| 174 : | make sure there is not actually a legitimate problem) but please be clear | ||
| 175 : | that you failed in step C.6.</li> | ||
| 176 : | vlad | 1.1 | </ul> |
| 177 : | |||
| 178 : | <li> | ||
| 179 : | vlad | 1.8 | C.7. go to Help> About> [About Plug-Ins] and [About Features] to verify |
| 180 : | you are running new version of the platform (the versions for the items | ||
| 181 : | will be 2.0.0.<qualifier>)</li> | ||
| 182 : | vlad | 1.1 | |
| 183 : | <li> | ||
| 184 : | vlad | 1.8 | C.8. Go to Help> Software Updates> Update Manager and expand "Current Configuration" |
| 185 : | and verify you now recognize the new version of the platform that was updated</li> | ||
| 186 : | vlad | 1.1 | </ul> |
| 187 : | |||
| 188 : | <h4> | ||
| 189 : | vlad | 1.8 | D. Restoring Original Configuration</h4> |
| 190 : | vlad | 1.1 | |
| 191 : | <ul> | ||
| 192 : | <li> | ||
| 193 : | vlad | 1.8 | D.1. in Update Manager, expand "Saved Configurations"</li> |
| 194 : | vlad | 1.1 | |
| 195 : | <li> | ||
| 196 : | vlad | 1.8 | D.2. select "Baseline" created in step B</li> |
| 197 : | vlad | 1.1 | |
| 198 : | <li> | ||
| 199 : | vlad | 1.8 | D.3. press restore</li> |
| 200 : | vlad | 1.1 | |
| 201 : | <li> | ||
| 202 : | vlad | 1.8 | D.4. Restart the workbench when prompted</li> |
| 203 : | vlad | 1.1 | |
| 204 : | <li> | ||
| 205 : | vlad | 1.8 | D.5. workbench should restart automatically, and open into Update manager</li> |
| 206 : | vlad | 1.1 | |
| 207 : | <li> | ||
| 208 : | vlad | 1.8 | D.6. expand "Current Configuration" and verify all configured features |
| 209 : | vlad | 1.1 | are the baseline feature versions (generally 2.0.0)</li> |
| 210 : | |||
| 211 : | <li> | ||
| 212 : | vlad | 1.8 | D.7. click the "Show disabled features" button in the Configuration view |
| 213 : | vlad | 1.1 | tool bar</li> |
| 214 : | |||
| 215 : | <li> | ||
| 216 : | vlad | 1.8 | D.8. verify "Current Configuration" shows the features updated in steps |
| 217 : | vlad | 1.1 | D and E as disabled (different icon)</li> |
| 218 : | vlad | 1.3 | |
| 219 : | <li> | ||
| 220 : | vlad | 1.8 | D.9. go to Help> About dialog, [About Plug-Ins] and verify you are in fact |
| 221 : | vlad | 1.3 | running the baseline plugins (all 2.0.0, except for the "special cases" |
| 222 : | like xerces, ant, luce, tomcat, etc)</li> | ||
| 223 : | vlad | 1.1 | |
| 224 : | <li> | ||
| 225 : | vlad | 1.8 | D.10. shut down the workbench</li> |
| 226 : | vlad | 1.1 | </ul> |
| 227 : | |||
| 228 : | vlad | 1.2 | <h2> |
| 229 : | Part 2: Alphabet Soup</h2> | ||
| 230 : | |||
| 231 : | <h3> | ||
| 232 : | Setup:</h3> | ||
| 233 : | Available sites: | ||
| 234 : | <ul> | ||
| 235 : | <li> | ||
| 236 : | vlad | 1.5 | <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> |
| 237 : | vlad | 1.2 | </ul> |
| 238 : | The above site contains prebuilt features used as part of the following | ||
| 239 : | scenario steps. It also includes several .zip files (containing features | ||
| 240 : | and plugins) that are used to simulate native installer steps. | ||
| 241 : | <br> | ||
| 242 : | <table BORDER COLS=1 WIDTH="100%" > | ||
| 243 : | <tr> | ||
| 244 : | <td> | ||
| 245 : | <center><b><font color="#FF0000">*** PLEASE READ *** PLEASE READ *** PLEASE | ||
| 246 : | READ *** PLEASE READ ***</font></b></center> | ||
| 247 : | </td> | ||
| 248 : | </tr> | ||
| 249 : | |||
| 250 : | <tr> | ||
| 251 : | <td><font color="#000000">When openning Bugzilla defects, use the platform/update | ||
| 252 : | component. Please ALWAYS specify the failing scenario step, and include | ||
| 253 : | a .zip of the <workspace>/.metadata/ directory</font></td> | ||
| 254 : | </tr> | ||
| 255 : | </table> | ||
| 256 : | |||
| 257 : | <h3> | ||
| 258 : | Description:</h3> | ||
| 259 : | The Alphabet Soup is a simple application packaged as an Eclipse product, | ||
| 260 : | plus several extensions. The application installs a tool button, and a | ||
| 261 : | menu ("Alphabet Soup") that can be used to query the content of the "soup | ||
| 262 : | bowl" and interact with the individual installed "letters" (each letter | ||
| 263 : | in the bowl corresponds to a separate plugin) | ||
| 264 : | <ul> | ||
| 265 : | <li> | ||
| 266 : | base product is a nested feature, my.alphabet, containing two sub-features | ||
| 267 : | with base sets of "letters"</li> | ||
| 268 : | |||
| 269 : | <li> | ||
| 270 : | 3 extension features containing additional "letters" (plugins). The features | ||
| 271 : | have a dependency relationship as follows:</li> | ||
| 272 : | |||
| 273 : | <ul> | ||
| 274 : | <li> | ||
| 275 : | "round letters" extension pack requires the base to be installed</li> | ||
| 276 : | |||
| 277 : | <li> | ||
| 278 : | "straight letters" extension pack requires "round letters" extension pack | ||
| 279 : | to be installed</li> | ||
| 280 : | |||
| 281 : | <li> | ||
| 282 : | "numbers" extension pack requires both "round letters" extension pack and | ||
| 283 : | "straight letters" extension pack to be installed</li> | ||
| 284 : | </ul> | ||
| 285 : | </ul> | ||
| 286 : | Just follow the steps and you'll get the idea. | ||
| 287 : | <h3> | ||
| 288 : | Steps:</h3> | ||
| 289 : | |||
| 290 : | <ul> | ||
| 291 : | <li> | ||
| 292 : | Install second copy of Eclipse to run these scenarios ... do not use your | ||
| 293 : | development copy of Eclipse for this.</li> | ||
| 294 : | |||
| 295 : | <li> | ||
| 296 : | either use the default workspace created by the second Eclipse copy, or | ||
| 297 : | specify (-data) a new workspace for these scenarios</li> | ||
| 298 : | </ul> | ||
| 299 : | |||
| 300 : | <h4> | ||
| 301 : | O. Completing the install</h4> | ||
| 302 : | |||
| 303 : | <ul> | ||
| 304 : | <li> | ||
| 305 : | O.1. after you have installed baseline eclipse, unzip the Aplhabet Soup | ||
| 306 : | 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> | ||
| 307 : | into the eclipse/ installation directory. The unzip should overwrite the | ||
| 308 : | install.ini file that is packaged with Eclipse (sets the Alphabet Soup | ||
| 309 : | feature as the primary feature). The product feature .zips can be found | ||
| 310 : | 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> | ||
| 311 : | |||
| 312 : | <li> | ||
| 313 : | O.2. start eclipse .... after "Completing the install ..." the platform | ||
| 314 : | restarts as "Alphabet Soup" application (own Welcome, About)</li> | ||
| 315 : | |||
| 316 : | <li> | ||
| 317 : | O.3. Click on the "Alphabet Soup" button in the tool bar ... you should | ||
| 318 : | have letters A, B, C and E (all 1.0.0) in your bowl.</li> | ||
| 319 : | |||
| 320 : | <li> | ||
| 321 : | O.4. Go to the "Alphabet Soup" menu and verify you can interact with each | ||
| 322 : | letter (one action per letter on the menu)</li> | ||
| 323 : | |||
| 324 : | <li> | ||
| 325 : | O.5. Open Help> Software Updates> Update Manager</li> | ||
| 326 : | |||
| 327 : | <li> | ||
| 328 : | O.6. Expand "Current Configuration". Verify "Alphabet Soup 1.0.0" is configured, | ||
| 329 : | and it contains 2 subfeatures (Round and Straight letters)</li> | ||
| 330 : | |||
| 331 : | <li> | ||
| 332 : | O.7. click on each of the features and view more details about each freature</li> | ||
| 333 : | |||
| 334 : | <li> | ||
| 335 : | O.8. select "Alphabet Soup 1.0.0" and press [Disable]. You should be notified | ||
| 336 : | that you cannot disable the primary feature (if this is not the case, [Cancel] | ||
| 337 : | the disable action and report a defect).</li> | ||
| 338 : | </ul> | ||
| 339 : | |||
| 340 : | <h4> | ||
| 341 : | P. Updating the primary feature using update manager</h4> | ||
| 342 : | |||
| 343 : | <ul> | ||
| 344 : | <li> | ||
| 345 : | P.1. expand "Sites to Visit", and "Alphabet Soup Update Site" and "Alphabet | ||
| 346 : | Soup Category"</li> | ||
| 347 : | |||
| 348 : | <li> | ||
| 349 : | P.2. Select "Alphabet Soup 1.0.0" ... preview should not show [Update] | ||
| 350 : | button</li> | ||
| 351 : | |||
| 352 : | <li> | ||
| 353 : | P.3. Select "Alphabet Soup 1.0.1" and select [Update]. Go through the install | ||
| 354 : | wizard accepting defaults.</li> | ||
| 355 : | |||
| 356 : | <li> | ||
| 357 : | P.4. Restart the workbench when prompted. Will restart with update manager | ||
| 358 : | open.</li> | ||
| 359 : | |||
| 360 : | <li> | ||
| 361 : | P.5. Expand "Current Configuration" .... verify you now have Alphabet Soup | ||
| 362 : | 1.0.1 installed and configured.</li> | ||
| 363 : | |||
| 364 : | <li> | ||
| 365 : | P.6. Click the "Show disabled features" filter button .... should see both | ||
| 366 : | versions (one configured, the other unconfugured (icon with grey "stop" | ||
| 367 : | overlay))</li> | ||
| 368 : | |||
| 369 : | <li> | ||
| 370 : | P.7. click the "Alphabet Soup" tool button ... should show new versions | ||
| 371 : | of the base letters (1.0.1). The actions on "Alphabet Soup" menu should | ||
| 372 : | also indicate we are running the new version.</li> | ||
| 373 : | |||
| 374 : | <li> | ||
| 375 : | P.8. close update manager</li> | ||
| 376 : | |||
| 377 : | <li> | ||
| 378 : | P.9. shut down the workbench</li> | ||
| 379 : | </ul> | ||
| 380 : | |||
| 381 : | <h4> | ||
| 382 : | Q. Updating the primary feature using "native" install (.zip)</h4> | ||
| 383 : | |||
| 384 : | <ul> | ||
| 385 : | <li> | ||
| 386 : | Q.1. unzip the Aplhabet 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> | ||
| 387 : | into the eclipse/ installation directory (look into the features/ or plugins/ | ||
| 388 : | subdirectory to veify you see new 1.1.0 versions)</li> | ||
| 389 : | |||
| 390 : | <li> | ||
| 391 : | Q.2. start Eclipse (a.k.a. Alphabet Soup). You'll see the splash comming | ||
| 392 : | up twice as the platfrom is updating the configuration. Workbench will | ||
| 393 : | come up, with a dialog informing you have changes. Click [OK] to open the | ||
| 394 : | update manager change dialog.</li> | ||
| 395 : | |||
| 396 : | <li> | ||
| 397 : | Q.3. check the change (so it is applied) and press [Finish]</li> | ||
| 398 : | |||
| 399 : | <li> | ||
| 400 : | Q.4. restart the workbench when prompted</li> | ||
| 401 : | |||
| 402 : | <li> | ||
| 403 : | Q.5. click the "Alphabet Soup" tool button and trigger "Alphabet Soup" | ||
| 404 : | menu action to see you have the new version (1.1.0) of the "soup bowl and | ||
| 405 : | letters"</li> | ||
| 406 : | |||
| 407 : | <li> | ||
| 408 : | Q.6. Open update manager and expand "Current Configuration". Should see | ||
| 409 : | Alphabet Soup 1.1.0 configured, and the other 2 unconfigured (click the | ||
| 410 : | "Show disabled features").</li> | ||
| 411 : | </ul> | ||
| 412 : | |||
| 413 : | <h4> | ||
| 414 : | <font color="#000000">R. Adding an extension using the update manager</font></h4> | ||
| 415 : | |||
| 416 : | <ul> | ||
| 417 : | <li> | ||
| 418 : | <font color="#000000">R.1. expand "Sites to Visit", "Alphabet Soup Update | ||
| 419 : | Site", "Alphabet Soup Fun Pack - Round Letters"</font></li> | ||
| 420 : | |||
| 421 : | <li> | ||
| 422 : | <font color="#000000">R.2. select "Alphabet Soup Round Letters Extension | ||
| 423 : | Pack 1.0.0" and click [Install]. Accept defaults in wizard and [Finish]. | ||
| 424 : | Restart workbench when prompted.</font></li> | ||
| 425 : | |||
| 426 : | <li> | ||
| 427 : | <font color="#000000">R.3. click of the "Alphaber Soup" tool button and | ||
| 428 : | interact with "Alphabet Soup" menu to see new round letters (D and G). | ||
| 429 : | vlad | 1.3 | <b>Note:</b> |
| 430 : | may need to go to Window> Costomize Perspective...> Other and select the | ||
| 431 : | action sets for the new letters</font></li> | ||
| 432 : | vlad | 1.2 | |
| 433 : | <li> | ||
| 434 : | <font color="#000000">R.4. expand Current Configuration ans verify the | ||
| 435 : | new feature is showing as configured.</font></li> | ||
| 436 : | |||
| 437 : | <li> | ||
| 438 : | <font color="#000000">R.4. close the update manager and shut down the workbench</font></li> | ||
| 439 : | </ul> | ||
| 440 : | |||
| 441 : | <h4> | ||
| 442 : | <font color="#000000">S. Adding an extension using "native" install (.zip) | ||
| 443 : | and link file</font></h4> | ||
| 444 : | |||
| 445 : | <ul> | ||
| 446 : | <li> | ||
| 447 : | <font color="#000000">S.0. <b>Note</b>: the first 3 steps will typically | ||
| 448 : | be performed by a native installer. Since you are simulating these steps | ||
| 449 : | you need to do this manually.</font></li> | ||
| 450 : | |||
| 451 : | <li> | ||
| 452 : | <font color="#000000">S.1. Set up a new install directory somewhere in | ||
| 453 : | your file system. Create eclipse/ subdirectory under it. U</font>nzip the | ||
| 454 : | Aplhabet 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> | ||
| 455 : | into the eclipse/ subdirectory. You should end up with</li> | ||
| 456 : | |||
| 457 : | <ul> | ||
| 458 : | <li> | ||
| 459 : | vlad | 1.3 | <some new install directory>/</li> |
| 460 : | |||
| 461 : | <br> eclipse/ | ||
| 462 : | <br> | ||
| 463 : | features/ | ||
| 464 : | <br> | ||
| 465 : | plugins/</ul> | ||
| 466 : | vlad | 1.2 | |
| 467 : | <li> | ||
| 468 : | S.2. In the original eclipse install (the one that contains the platform | ||
| 469 : | and Alphabet Soup), create a new directory called "links" as a peer to | ||
| 470 : | features/ and plugins/. You should end up with</li> | ||
| 471 : | |||
| 472 : | <ul> | ||
| 473 : | <li> | ||
| 474 : | vlad | 1.3 | <eclipse platform install directory>/</li> |
| 475 : | |||
| 476 : | <br> eclipse/ | ||
| 477 : | <br> | ||
| 478 : | links/ | ||
| 479 : | <br> features/ | ||
| 480 : | <br> | ||
| 481 : | plugins/</ul> | ||
| 482 : | vlad | 1.2 | |
| 483 : | <li> | ||
| 484 : | S.3. within the links/ subdirectory, create a file called my.alphabet.link | ||
| 485 : | vlad | 1.3 | and add a single line into it</li> |
| 486 : | |||
| 487 : | vlad | 1.9 | <br> |
| 488 : | <p> | ||
| 489 : | <p>path=<some new install directory> | ||
| 490 : | vlad | 1.3 | <p><b>Note</b>: the path should be an absolute path using local file system |
| 491 : | vlad | 1.2 | syntax. The .link file is loaded as a Java properties file, so on Windows |
| 492 : | vlad | 1.3 | you need to double up the back-slashes (eg. path=c:\\temp\\install) |
| 493 : | vlad | 1.2 | <li> |
| 494 : | S.4. start eclipse (Alphabet Soup). You'll see the splash comming up twice | ||
| 495 : | as the platfrom is updating the configuration. Workbench will come up, | ||
| 496 : | with a dialog informing you have changes. Click [OK] to open the update | ||
| 497 : | manager change dialog.</li> | ||
| 498 : | |||
| 499 : | <li> | ||
| 500 : | S.5. check the change (so it is applied) and press [Finish]</li> | ||
| 501 : | |||
| 502 : | <li> | ||
| 503 : | S.6. restart the workbench when prompted</li> | ||
| 504 : | |||
| 505 : | <li> | ||
| 506 : | S.7. click the "Alphabet Soup" tool button and trigger "Alphabet Soup" | ||
| 507 : | vlad | 1.3 | menu action to see you have the new letters.</li> |
| 508 : | vlad | 1.2 | |
| 509 : | vlad | 1.3 | <br><b>Note</b>: may need to go to Window> Customize Perspective...> Other |
| 510 : | and select the new letters to get the menu actions to become visible | ||
| 511 : | <br><b>Note</b>: if you are following all the steps in the scenario, the | ||
| 512 : | base letters (A, B, C, E) should be at 1.1.0, and the extensions (D, G) | ||
| 513 : | (F, H) at 1.0.0 | ||
| 514 : | vlad | 1.2 | <li> |
| 515 : | S.8. Open update manager and expand "Current Configuration". Should see | ||
| 516 : | a new site representing the extension install, and it should contain the | ||
| 517 : | extension feature you've installed.</li> | ||
| 518 : | </ul> | ||
| 519 : | |||
| 520 : | <h4> | ||
| 521 : | T. Installing another extension using the update manager (with environment | ||
| 522 : | filtering)</h4> | ||
| 523 : | |||
| 524 : | <ul> | ||
| 525 : | <li> | ||
| 526 : | <font color="#000000">T.1. expand "Sites to Visit", "Alphabet Soup Update | ||
| 527 : | Site", "Alphabet Soup Fun Pack - Numbers"</font></li> | ||
| 528 : | |||
| 529 : | <li> | ||
| 530 : | <font color="#000000">T.2. The Numbers extension specifies an OS in its | ||
| 531 : | feature definition. The update site contains features for Win and Linux. | ||
| 532 : | On those two platforms you should see a list of features designated for | ||
| 533 : | than platform. On other platforms you are out of luck ... you don't get | ||
| 534 : | to play with numbers (skip the rest of this step)</font></li> | ||
| 535 : | |||
| 536 : | <li> | ||
| 537 : | <font color="#000000">T.3. uncheck the "Show matching features only" filter | ||
| 538 : | vlad | 1.6 | .... should now see all the features for both platforms. Check the filter |
| 539 : | vlad | 1.2 | back again.</font></li> |
| 540 : | |||
| 541 : | <li> | ||
| 542 : | <font color="#000000">T.4. select "Alphabet Soup Numbers Extension Pack | ||
| 543 : | for <OS>1.0.1" and click [Install]. Accept defaults in wizard. In the | ||
| 544 : | location selection page ensure the extension location created in steps | ||
| 545 : | S is not offered as a choice. Press [Finish]. Restart workbench when prompted.</font></li> | ||
| 546 : | |||
| 547 : | <li> | ||
| 548 : | <font color="#000000">T.5. click of the "Alphabet Soup" tool button and | ||
| 549 : | interact with "Alphabet Soup" menu to see new numbers (3 and 5). <b>Note:</b> | ||
| 550 : | may need to go to Window> Costomize Perspective...> Other and select the | ||
| 551 : | action sets for the new numbers</font></li> | ||
| 552 : | |||
| 553 : | <li> | ||
| 554 : | vlad | 1.6 | <font color="#000000">T.6. expand Current Configuration ans verify the |
| 555 : | vlad | 1.2 | new feature is showing as configured in the original install site</font></li> |
| 556 : | |||
| 557 : | <li> | ||
| 558 : | vlad | 1.6 | <font color="#000000">T.7. close the update manager and shut down the workbench</font></li> |
| 559 : | vlad | 1.2 | </ul> |
| 560 : | |||
| 561 : | vlad | 1.1 | <h4> |
| 562 : | vlad | 1.2 | <font color="#000000">"Free-form" testing</font></h4> |
| 563 : | |||
| 564 : | <ul> | ||
| 565 : | <li> | ||
| 566 : | <font color="#000000">the above scenarios describe a path through the update | ||
| 567 : | support. Run through it once as described. There is lot's of opportunity | ||
| 568 : | to do thing in different order, click on ither buttons, try other features | ||
| 569 : | in the UI. Go ahead an explore. Remember, is you see something that does | ||
| 570 : | not work, is not correct, or is not what you'd expected, open Bugzilla | ||
| 571 : | defects in the platform/update component. Please ALWAYS specify the steps | ||
| 572 : | leading up to the failure, and include a .zip of the <workspace>/.metadata/ | ||
| 573 : | directory</font></li> | ||
| 574 : | vlad | 1.4 | </ul> |
| 575 : | vlad | 1.2 | |
| 576 : | vlad | 1.1 | </body> |
| 577 : | </html> |
| help@eclipse.org | ViewVC Help |
| Powered by ViewVC 1.0.3 |
