| <?xml version="1.0" encoding="UTF-8" ?> |
| |
| <!-- Simple Cheat Sheet --> |
| |
| <cheatsheet title="Export an RCP product"> |
| |
| <!-- Introduction --> |
| |
| <intro href="/org.eclipse.platform.doc.user/reference/ref-cheatsheets.htm"> |
| <description> |
| This cheat sheet will demonstrate how to modify a build |
| configuration and export an |
| RCP product using PDE. |
| <br/> |
| <br/> |
| To learn more about using cheat sheets, click the help button |
| in the top right corner (?). |
| </description> |
| </intro> |
| |
| <!-- Item --> |
| |
| <item title="Open the plug-in development perspective" |
| href="/org.eclipse.pde.doc.user/guide/tools/views/views.htm" |
| dialog="false" |
| skip="false"> |
| <description> |
| To open the plug-in development perspective, |
| select <b>Window->Open Perspective->Other...</b> |
| and choose <b>Plug-in Development</b>. |
| <br/> |
| <br/> |
| Alternatively, click the following button to perform the task. |
| </description> |
| <command serialization="org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.pde.ui.PDEPerspective)" required="false" translate="" /> |
| </item> |
| |
| <!-- Item --> |
| |
| <item title="Open the build configuration editor" |
| href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/build.htm" |
| dialog="false" |
| skip="false"> |
| <description> |
| To open the build configuration editor, |
| expand the <b>com.example.rcpapp</b> tree dialog |
| in the <b>Package Explorer</b> view and double-click |
| on the <b>build.properties</b> file. |
| <br/> |
| <br/> |
| Select the <b>Build</b> tab to display the <b>Build Configuration</b> |
| page if it is not the initial page. |
| <br/> |
| <br/> |
| Alternatively, click the following button to perform the task. |
| </description> |
| <command serialization="org.eclipse.ui.navigate.openResource(filePath=/com.example.rcpapp/build.properties)" required="false" translate="" /> |
| </item> |
| |
| <!-- Item --> |
| |
| <item title="Modify the build configuration" |
| href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/build.htm" |
| dialog="true" |
| skip="false"> |
| <description> |
| In order to control what files are deployed with our packaged |
| RCP application, we need to modify the build configuration. |
| <br/> |
| <br/> |
| To modify the build configuration, perform the following steps: |
| </description> |
| <subitem label="Select the checkbox corresponding to the "icons" directory under the "Binary Build" heading" |
| skip="false"/> |
| <subitem label="Select the checkbox corresponding to the "splash.bmp" file under the "Binary Build" heading" |
| skip="false"/> |
| <subitem label="Select "File->Save" from the main menu" |
| skip="false"/> |
| </item> |
| |
| <!-- Item --> |
| |
| <item title="Open the product editor" |
| href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/editor.htm" |
| dialog="false" |
| skip="false"> |
| <description> |
| To open the product editor (if it is not already open), |
| expand the <b>com.example.rcpapp</b> tree dialog |
| in the <b>Package Explorer</b> view and double-click |
| on the <b>rcpapp.product</b> file. |
| <br/> |
| <br/> |
| Alternatively, click the following button to perform the task. |
| </description> |
| <command serialization="org.eclipse.ui.navigate.openResource(filePath=/com.example.rcpapp/rcpapp.product)" required="false" translate="" /> |
| </item> |
| |
| <!-- Item --> |
| |
| <item title="Export the plug-in based product" |
| href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/overview.htm" |
| dialog="true" |
| skip="false"> |
| <description> |
| To export the plug-in based product, perform the following steps: |
| </description> |
| <subitem label="Select the "Overview" tab within the product editor to display the "Overview" page" |
| skip="false"/> |
| <subitem label="Click the "Eclipse Product export wizard" hyperlink under the "Exporting" heading to launch the "Export" dialog box" |
| skip="false"> |
| <command serialization="org.eclipse.ui.file.export(exportWizardId=org.eclipse.pde.ui.productExportWizard)" required="false" translate="" /> |
| </subitem> |
| <subitem label="Verify that "/com.example.rcpapp/rcpapp.product" is entered in the "Configuration" combo box within the "Product Configuration" group" |
| skip="true"/> |
| <subitem label="Input "rcpapp_plugin-based" in the "Root directory" text box contained in the "Product Configuration" group" |
| skip="false"/> |
| <subitem label="Input a destination directory in the "Directory" text box under the "Destination" group (e.g. "C:\" for Windows) and click "Finish"" |
| skip="false"/> |
| </item> |
| |
| <!-- Item --> |
| |
| <item title="Browse the exported plug-in based product directory" |
| dialog="true" |
| skip="false"> |
| <description> |
| To browse the exported plug-in based product directory, perform the following steps: |
| </description> |
| <subitem label="Navigate your file system to the destination directory specified in the previous step (e.g. "C:\" for Windows)" |
| skip="false"/> |
| <subitem label="Note the presence of the "rcpapp_plugin-based" directory in the destination directory and open it" |
| skip="false"/> |
| <subitem label="Note the presence of the "com.example.rcpapp" plug-in along with many other RCP plug-ins it depends upon within the "plugins" sub-directory" |
| skip="true"/> |
| <subitem label="Note the "rcpapp" launcher with a branded icon ("rcpapp.exe" on Windows)" |
| skip="false"/> |
| <subitem label="Run the "rcpapp" launcher" |
| skip="false"/> |
| <subitem label="Observe the plug-in based RCP application you created that is fully executable outside the Eclipse workspace" |
| skip="true"/> |
| <subitem label="Exit the RCP application" |
| skip="false"/> |
| </item> |
| |
| </cheatsheet> |
| |