Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Swordfish Documentation: Setting Up Registry From Galileo Update Site"
Line 11: | Line 11: | ||
<ol> | <ol> | ||
− | <li>Create a new Target Platform definition. | + | <li>Create a new Target Platform definition. In the menu, click <b>Window > Preferences > Plug-in Development > Target Platform </b> |
<br>[[Image:Taget_plaftorm_props.png]]</li> | <br>[[Image:Taget_plaftorm_props.png]]</li> | ||
− | <li>Click | + | <li>Click <b>Add</b> and select <b>Nothing: Start with an empty definition</b> in the first page of the New Target Definition project wizard. |
<br>[[Image:New_Taget_Definition_Window.png]]</li> | <br>[[Image:New_Taget_Definition_Window.png]]</li> | ||
− | <li>Type the name of the new Target Platform Definition and click | + | <li>Type the name of the new Target Platform Definition and click <b>Add</b> under the "Locations" tab. |
<br>[[Image:Empty target definition.png]]</li> | <br>[[Image:Empty target definition.png]]</li> | ||
− | <li>Select "Software Site" in the <b>Add Content<b> window and click <b>Next</b> | + | <li>Select "Software Site" in the <b>Add Content<b> project window and click <b>Next</b> |
<br>[[Image:New content.png]]</li> | <br>[[Image:New content.png]]</li> | ||
− | <li>In the "Add software site" window expand the list | + | <li>In the "Add software site" window expand the list of items next to <b>Work with:</b> and select the "Galileo - http://download.eclipse.org/releases/galileo" item.<br> |
+ | NOTE: You may need to wait for several seconds. | ||
<br>[[Image:Add software site dropdown.png]]</li> | <br>[[Image:Add software site dropdown.png]]</li> | ||
− | <li>In the table below the | + | <li>In the table below the drop-down list mentioned click to expand the "EclipseRT Target Platform Components" category and select the "Swordfish Registry" and "Swordfish Core" items. Click <b>Finish</b>. |
<br>[[Image:Add swordfish core and registry.png]] | <br>[[Image:Add swordfish core and registry.png]] | ||
</li> | </li> | ||
− | <li>After the | + | <li>After the last step, a Swordfish Target Plaftorm consisting of Swordfish Core and Swordfish Registry bundles will be uploaded. See the window below: |
<br>[[Image:New bundles location.png]]</li> | <br>[[Image:New bundles location.png]]</li> | ||
− | <li>We are almost done. | + | <li>We are now almost done with this task. However, the Swordfish Core and Registry bundles require some equinox core bundles like <tt>org.eclipse.osgi.services</tt>, <tt>org.eclipse.equinox.common</tt> and <tt>org.eclipse.equinox.http.servlet</tt>. The easiest way to bind these to the current target platform is to take them from your current eclipse installation.<br> |
+ | To do this click <b>Add</b> in the Target Definition Window; select "Installation" from the Add content window list. | ||
<br>[[Image:Add installation content.png]]</li> | <br>[[Image:Add installation content.png]]</li> | ||
− | <li>Click | + | <li>Click <b>Variables</b> and select <b>eclipse_home</b> from the list. Click <b>Finish</b> |
<br>[[Image:Add eclipse home location.png]]</li> | <br>[[Image:Add eclipse home location.png]]</li> | ||
− | <li>Now your Target Platform definition should look like the image | + | <li>Now your Target Platform definition should look like the image shown here. |
<br>[[Image:Target plaftorm definition with eclipse home.png]]</li> | <br>[[Image:Target plaftorm definition with eclipse home.png]]</li> | ||
− | <li>Activate the | + | <li>Click <b>Finish</b>.</li> |
+ | <li>Activate the Swordfish Registry target platform and save your changes. | ||
<br>[[Image:Activate_target_plaftorm.png]]</li> | <br>[[Image:Activate_target_plaftorm.png]]</li> | ||
</ol> | </ol> |
Revision as of 06:43, 17 June 2009
Contents
Setting up a Swordfish Registry from the Galileo update site
This section contains instructions on setting up the Swordfish Registry by downloading a specific Swordfish Eclipse Runtime Target Platform from the Galileo Update Site.
Additionally this section contains information about running the Swordfish Registry.
Prerequisites
Eclipse Galileo (Eclipse 3.5) build or later. The examples described here are based on Eclipse 3.5.
Setting up Swordfish Registry Target Platform
To setup the Swordfish Registry Target Platform do the following:
- Create a new Target Platform definition. In the menu, click Window > Preferences > Plug-in Development > Target Platform
- Click Add and select Nothing: Start with an empty definition in the first page of the New Target Definition project wizard.
- Type the name of the new Target Platform Definition and click Add under the "Locations" tab.
- Select "Software Site" in the Add Content<b> project window and click <b>Next
- In the "Add software site" window expand the list of items next to Work with: and select the "Galileo - http://download.eclipse.org/releases/galileo" item.
NOTE: You may need to wait for several seconds. - In the table below the drop-down list mentioned click to expand the "EclipseRT Target Platform Components" category and select the "Swordfish Registry" and "Swordfish Core" items. Click Finish.
- After the last step, a Swordfish Target Plaftorm consisting of Swordfish Core and Swordfish Registry bundles will be uploaded. See the window below:
- We are now almost done with this task. However, the Swordfish Core and Registry bundles require some equinox core bundles like org.eclipse.osgi.services, org.eclipse.equinox.common and org.eclipse.equinox.http.servlet. The easiest way to bind these to the current target platform is to take them from your current eclipse installation.
To do this click Add in the Target Definition Window; select "Installation" from the Add content window list. - Click Variables and select eclipse_home from the list. Click Finish
- Now your Target Platform definition should look like the image shown here.
- Click Finish.
- Activate the Swordfish Registry target platform and save your changes.
Running Swordfish Registry
Running Registry Target Platform is the same as running any other target platform.
See: