carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/188/1/.cp/cheatsheets/rcpapp/rcpapp-export.xml
author cawthron
Fri, 04 Dec 2009 10:01:33 -0600
changeset 5 684bf18fdedf
permissions -rw-r--r--
add files for RCL_2_2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8" ?>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     2
<!--
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     3
     Copyright (c) 2005, 2008 IBM Corporation and others.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     4
     All rights reserved. This program and the accompanying materials
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     5
     are made available under the terms of the Eclipse Public License v1.0
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     6
     which accompanies this distribution, and is available at
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     7
     http://www.eclipse.org/legal/epl-v10.html
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     8
    
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     9
     Contributors:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
         IBM Corporation - initial API and implementation
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
 -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
<!-- Simple Cheat Sheet -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
<cheatsheet title="Export an RCP product">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
   <!-- Introduction -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
   <intro href="/org.eclipse.platform.doc.user/reference/ref-cheatsheets.htm">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
         This cheat sheet will demonstrate how to modify a build 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
         configuration and export an
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
         RCP product using PDE.  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
         To learn more about using cheat sheets, click the help button
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
         in the top right corner (?). 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
   </intro>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
   <!-- Item -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
   <item title="Open the plug-in development perspective"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
         href="/org.eclipse.pde.doc.user/guide/tools/views/views.htm"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
         dialog="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
         skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    38
         To open the plug-in development perspective,
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
         select <b>Window-&gt;Open Perspective-&gt;Other...</b> 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    40
         and choose <b>Plug-in Development</b>.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    42
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    43
         Alternatively, click the following button to perform the task.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    44
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
      <command serialization="org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.pde.ui.PDEPerspective)" required="false" translate="" />
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    46
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    47
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    48
   <!-- Item -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    49
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    50
   <item title="Open the build configuration editor"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
         href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/build.htm"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    52
         dialog="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    53
         skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    54
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    55
         To open the build configuration editor,
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    56
         expand the <b>com.example.rcpapp</b> tree dialog
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    57
         in the <b>Package Explorer</b> view and double-click
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    58
         on the <b>build.properties</b> file.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    59
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    60
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    61
         Select the <b>Build</b> tab to display the <b>Build Configuration</b> 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    62
         page if it is not the initial page.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    63
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    64
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    65
         Alternatively, click the following button to perform the task.         
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    66
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    67
      <command serialization="org.eclipse.ui.navigate.openResource(filePath=/com.example.rcpapp/build.properties)" required="false" translate="" />
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    68
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    69
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    70
   <!-- Item -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    71
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    72
   <item title="Modify the build configuration"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    73
         href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/build.htm"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    74
         dialog="true"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    75
         skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    76
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    77
         In order to control what files are deployed with our packaged
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    78
         RCP application, we need to modify the build configuration.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    79
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    80
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    81
         To modify the build configuration, perform the following steps:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    82
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    83
      <subitem label="Select the checkbox corresponding to the &quot;icons&quot; directory under the &quot;Binary Build&quot; heading" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    84
               skip="false"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    85
      <subitem label="Select the checkbox corresponding to the &quot;splash.bmp&quot; file under the &quot;Binary Build&quot; heading" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    86
               skip="false"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    87
      <subitem label="Select &quot;File-&gt;Save&quot; from the main menu" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    88
               skip="false"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    89
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    90
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    91
   <!-- Item -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    92
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    93
   <item title="Open the product editor"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    94
         href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/editor.htm"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    95
         dialog="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    96
         skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    97
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    98
         To open the product editor (if it is not already open),
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    99
         expand the <b>com.example.rcpapp</b> tree dialog
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   100
         in the <b>Package Explorer</b> view and double-click
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   101
         on the <b>rcpapp.product</b> file.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   102
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   103
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   104
         Alternatively, click the following button to perform the task.         
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   105
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   106
      <command serialization="org.eclipse.ui.navigate.openResource(filePath=/com.example.rcpapp/rcpapp.product)" required="false" translate="" />
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   107
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   108
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   109
   <!-- Item -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   110
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   111
   <item title="Export the plug-in based product"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   112
         href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/overview.htm"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   113
         dialog="true"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   114
         skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   115
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   116
         To export the plug-in based product, perform the following steps:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   117
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   118
      <subitem label="Select the &quot;Overview&quot; tab within the product editor to display the &quot;Overview&quot; page" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   119
               skip="false"/>     
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   120
      <subitem label="Click the &quot;Eclipse Product export wizard&quot; hyperlink under the &quot;Exporting&quot; heading to launch the &quot;Export&quot; dialog box" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   121
               skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   122
         <command serialization="org.eclipse.ui.file.export(exportWizardId=org.eclipse.pde.ui.productExportWizard)" required="false" translate="" />
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   123
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   124
      <subitem label="Verify that &quot;/com.example.rcpapp/rcpapp.product&quot; is entered in the &quot;Configuration&quot; combo box within the &quot;Product Configuration&quot; group" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   125
               skip="true"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   126
      <subitem label="Input &quot;rcpapp_plugin-based&quot; in the &quot;Root directory&quot; text box contained in the &quot;Product Configuration&quot; group" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   127
               skip="false"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   128
      <subitem label="Input a destination directory in the &quot;Directory&quot; text box under the &quot;Destination&quot; group (e.g. &quot;C:\&quot; for Windows) and click &quot;Finish&quot;" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   129
               skip="false"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   130
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   131
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   132
   <!-- Item -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   133
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   134
   <item title="Browse the exported plug-in based product directory"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   135
         dialog="true"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   136
         skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   137
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   138
         To browse the exported plug-in based product directory, perform the following steps:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   139
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   140
      <subitem label="Navigate your file system to the destination directory specified in the previous step (e.g. &quot;C:\&quot; for Windows)" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   141
               skip="false"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   142
      <subitem label="Note the presence of the &quot;rcpapp_plugin-based&quot; directory in the destination directory and open it" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   143
               skip="false"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   144
      <subitem label="Note the presence of the &quot;com.example.rcpapp&quot; plug-in along with many other RCP plug-ins it depends upon within the &quot;plugins&quot; sub-directory" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   145
               skip="true"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   146
      <subitem label="Note the &quot;rcpapp&quot; launcher with a branded icon (&quot;rcpapp.exe&quot; on Windows)" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   147
               skip="false"/>                 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   148
      <subitem label="Run the &quot;rcpapp&quot; launcher" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   149
               skip="false"/>    
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   150
      <subitem label="Observe the plug-in based RCP application you created that is fully executable outside the Eclipse workspace" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   151
               skip="true"/>                   
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   152
      <subitem label="Exit the RCP application" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   153
               skip="false"/>     
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   154
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   155
      
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   156
</cheatsheet>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   157