This cheat sheet will automatically launch wizards, perform actions, and guide you through the individual steps to create a feature and publish it using the Plug-in Development Environment (PDE). To learn more about using cheat sheets or to see a list of available cheat sheets click help (?). To start working on this cheat sheet, click the "Click to Begin" button below. Select Window->Open Perspective->Other...->Plug-in Development to switch to the PDE perspective. The PDE perspective is automatically launched when you click the "Click to Perform" button. Select File->New->Plug-in Project to bring up the plug-in project creation wizard. Choose 'com.example.xyz' for the project name. Accept all the defaults. Pick the Hello, World template from the list of templates and press Finish. The wizard is automatically launched when you click the "Click to Perform" button. Select File->New->Feature Project to bring up the feature project creation wizard. Choose 'com.example.xyz-feature' for the project name. Choose 'com.example.xyz' for the feature id and 'XYZ Feature' for the feature name. Check 'com.example.xyz' plug-in in the list of plug-ins and press Finish. The wizard is automatically launched when you click the "Click to Perform" button. Switch to the Information page of the feature editor opened as a result of the previous step. Enter a short description in the Description tab. Switch to the License Agreement tab and enter a short license text (features without a license will not be accepted by Eclipse Update). Press 'Ctrl+S' to save the file. Select File->New->Project->Plug-in Development->Update Site Project to bring up the update site project creation wizard. Choose 'updates' for the project name and press Finish. The wizard is automatically launched when you click the "Click to Perform" button. Select Add... in Features to Build section and check 'com.example.xyz' from the list. Verify that the feature appears in the section upon clicking Finish. Select New Category... in Features to Publish section and enter 'sample' for category name, 'Sample' for the label and some random text for description. Verify that the category appears in the section upon clicking OK. Select 'com.example.xyz' feature in Features to Build section and drag it to the 'Sample' category in Features to Publish section. Verify that the feature appears as a child of the category. Select 'Ctrl+S' to save the file. Select the Build All button in the Features to Build section. Verify that 'plugins' and 'features' folders in the update site project contain JARs after the build is done. Select Help->Software Updates->Find and Install.... The wizard is automatically launched when you click the "Click to Perform" button. Select the Search for new features to install radio button. Click Next. Select Add Local Site.... Find the workspace in the local file system and navigate to the update site project. Check the site, expand it and verify that 'Sample' category shows up. Click Next.
The wizard list should show 'XYZ Feature'. Select it and verify that the description shows up. Click the Properties button and verify that properties are correct. Click Next. Verify that the license agreement shows up correctly.
When ready to test the feature itself, install another Eclipse instance and start it. Select Help->Software Updates->Find and Install.... in that instance. Repeat the previous two steps. This time, go all the way to the end of the wizard and press Finish. Accept to restart the workbench. Upon restart, select Help->Software Updates->Manage Configuration.... Expand the install location under Eclipse Platform. Verify that the 'XYZ Feature' exists. Once the update site is verified in the local file system, export the update site project and copy it to an HTTP server.