Previewing an update site
Update site created by PDE wizard can be previewed in-place using update
manager. Of course, the archives that update manager expects must be built first
and the update map file must be set up correctly
Example: building and previewing the sample update site
Using the update site created by the 'New' wizard, edit the site map file
using the PDE update site editor as follows:
- In the Description page, define a category as follows: 'sample' for name,
'Sample Category' for label and some free text for the description.
- In the Build page, press the Add... button in the Features To Build
section and check the only feature listed in the wizard (com.example.feature).
Press Finish.
- Once the feature entry appears in the list, check the checkbox.
- In the Features page, verify that there is an entry named
features/com.example.feature_1.2.2.jar. Select it and when 'Sample
Category' appears in the list of categories, check it.
- Save the editor.
- Switch to the Build page again and press the Rebuild All button.
There should be archives appearing in the features and plugins
folders at the end of the build.
- Select Help>Software Updates>Update Manager from the main menu.
- Drill down from My Computer in the Updates view to the location of your
workspace. Your update project should have a distinct update site icon. When
you expand it, you should see 'Sample Category' object. When you expand the
category, you should see 'Sample Feature'.