carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/188/1/.cp/cheatsheets/helloworld/helloworld-update.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, 2009 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="Create an update site">
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 create an update site for a plug-in
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
         using PDE.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
         <br/>
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
         To learn more about using cheat sheets, click the help button
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
         in the top right corner (?). 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
   </intro>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
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="Create the update site"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
         dialog="true"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    52
         href="/org.eclipse.pde.doc.user/guide/tools/project_wizards/new_update_site_project.htm"
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 create the update site, perform the following steps:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    56
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    57
      <subitem label="Select &quot;File-&gt;New-&gt;Project...&quot;, and choose &quot;Update Site Project&quot; under the &quot;Plug-in Development&quot; heading" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    58
               skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    59
         <command serialization="org.eclipse.ui.newWizard(newWizardId=org.eclipse.pde.ui.NewSiteProjectWizard)" required="false" translate="" />
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    60
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    61
      <subitem label="Input &quot;helloworld.site&quot; into the &quot;Project Name&quot; text box on the &quot;Update Site Project&quot; page" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    62
               skip="false"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    63
      <subitem label="Deselect the &quot;Use default location&quot; text box" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    64
               skip="false"/>  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    65
      <subitem label="Note:  For the purpose of this cheat sheet we will define a Windows pathname for our update site location.  For Unix platforms, adjust accordingly." 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    66
               skip="true"/>  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    67
      <subitem label="Input &quot;C:\helloworld.site&quot; in the &quot;Location&quot; text box and click &quot;Finish&quot;" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    68
               skip="false"/>  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    69
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    70
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    71
   <!-- Item -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    72
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    73
   <item title="Create the update site description"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    74
         dialog="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    75
         href="/org.eclipse.pde.doc.user/guide/tools/editors/site_editor/archives.htm"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    76
         skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    77
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    78
         The site editor should be open on the <b>Site Map</b> tab.
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 create the update site description, 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 &quot;Archives&quot; tab" 
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="Input &quot;file:///C:/helloworld.site/&quot; into the &quot;URL&quot; text box" 
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="Input &quot;Hello World! Update Site&quot; into the &quot;Description&quot; text box" 
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
      <subitem label="Click &quot;File-&gt;Save&quot; from the main menu" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    90
               skip="false"/>  
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 -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    94
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    95
   <item title="Create a feature category"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    96
         dialog="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    97
         href="/org.eclipse.pde.doc.user/guide/tools/editors/site_editor/site_map.htm"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    98
         skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    99
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   100
         To create a feature category, perform the following steps:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   101
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   102
      <subitem label="Select the &quot;Site Map&quot; tab from the site editor" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   103
               skip="false"/>  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   104
      <subitem label="Click the &quot;New Category&quot; button" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   105
               skip="false"/>  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   106
      <subitem label="Input &quot;Hello World!&quot; into the &quot;Name&quot; text box" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   107
               skip="false"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   108
      <subitem label="Input &quot;Hello World!&quot; into the &quot;Label&quot; text box" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   109
               skip="false"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   110
      <subitem label="Click &quot;File-&gt;Save&quot; from the main menu" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   111
               skip="false"/>  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   112
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   113
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   114
   <!-- Item -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   115
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   116
   <item title="Add a feature to a feature category"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   117
         dialog="true"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   118
         href="/org.eclipse.pde.doc.user/guide/tools/editors/site_editor/site_map.htm"
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
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   121
         To add a feature to a feature category, perform the following steps:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   122
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   123
      <subitem label="Select the &quot;Hello World!&quot; feature category in the &quot;Managing the Site&quot; list box" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   124
               skip="false"/>  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   125
      <subitem label="Click the &quot;Add Feature...&quot; button" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   126
               skip="false"/>  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   127
      <subitem label="Select &quot;com.example.feature&quot; from the list box and click &quot;OK&quot;" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   128
               skip="false"/>  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   129
      <subitem label="Click &quot;File-&gt;Save&quot; from the main menu" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   130
               skip="false"/>                 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   131
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   132
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   133
   <!-- Item -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   134
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   135
   <item title="Build and export a feature to an update site"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   136
         dialog="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   137
         href="/org.eclipse.pde.doc.user/guide/tools/editors/site_editor/site_map.htm"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   138
         skip="false">
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
         To build a feature and export it to an update site, perform the following steps:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   141
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   142
      <subitem label="Click the &quot;Build All&quot; button" 
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="Verify the &quot;com.example.helloworld_1.0.0.jar&quot; jar file has been created in the &quot;plugins&quot; folders on the update site (See the &quot;Package Explorer&quot; view or the &quot;C:\helloworld.site&quot; folder)" 
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="Verify the &quot;com.example.feature_1.0.0.jar&quot; jar file has been created in the &quot;features&quot; folders on the update site" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   147
               skip="true"/>    
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   148
               
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   149
                           
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   150
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   151
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   152
</cheatsheet>