Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Swordfish Documentation: Setting Up Registry From Galileo Update Site"

(Setting up Swordfish Registry Target Platform)
(Setting up Swordfish Registry Target Platform)
Line 13: Line 13:
 
<li>Create a new Target Platform definition. Open <b>Window > Preferences > Plug-in Development > Target Platform </b>
 
<li>Create a new Target Platform definition. Open <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 add button on right sidebar and choose "Nothing: Start with an empty definition" in "New Target Definition" windows' wizard first page
+
<li>Click the "Add" button on the right sidebar and choose "Nothing: Start with an empty definition" in "New Target Definition" windows' wizard first page
 
     <br>[[Image:New_Taget_Definition_Window.png‎]]</li>
 
     <br>[[Image:New_Taget_Definition_Window.png‎]]</li>
 
<li>Define the name of the new Target Platform Definition and click the "Add" button in the "Locations" tab.  
 
<li>Define the name of the new Target Platform Definition and click the "Add" button in the "Locations" tab.  

Revision as of 04:47, 16 June 2009

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:

  1. Create a new Target Platform definition. Open Window > Preferences > Plug-in Development > Target Platform
    Taget plaftorm props.png
  2. Click the "Add" button on the right sidebar and choose "Nothing: Start with an empty definition" in "New Target Definition" windows' wizard first page
    New Taget Definition Window.png
  3. Define the name of the new Target Platform Definition and click the "Add" button in the "Locations" tab.
    Empty target definition.png
  4. Choose "Software Site" in the "New Content" window and click Next
    New content.png
  5. On the "Add software site" page expand the dropdown list with the "Work with:" label and choose "Galileo - http://download.eclipse.org/releases/galileo" item. Wait for several seconds.
    Add software site dropdown.png
  6. At the table below the dropdown list mentioned above expand the "EclipseRT Target Platform Components" category and mark the "Swordfish Registry" and "Swordfish Core" items. Click Finish.
    Add swordfish core and registry.png
  7. After the previous step a Swordfish Target Plaftorm consisting of Swordfish Core and Swordfish Registry bundles will be uploaded. See windows below:
    New bundles location.png
  8. We are almost done. But the Swordfish Core and Registry bundles require some equinox core bundles like org.eclipse.osgi.services, org.eclipse.equinox.common, org.eclipse.equinox.http.servlet etc. The most easiest way to bind those to the current target platform is to take them from your current eclipse installation. To do this click Add on the right sidebar of the Target Definition Window. Then Pick "Installation" from Add content window list.
    Add installation content.png
  9. Click on the "Variables" button and choose eclipse_home from the proposed list. Click on the Finish
    Add eclipse home location.png
  10. Now your Target Platform definition should look like the image below. Push the Finish button.
    Target plaftorm definition with eclipse home.png
  11. Activate the "Swordfish Registry" target platform and save changes.
    Activate target plaftorm.png

Running Swordfish Registry

Running Registry Target Platform is the same as running any other target platform.
See:

Back to the top