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

EclipseLink/Installing EclipseLink OSGi in PDE

< EclipseLink
Revision as of 17:15, 15 June 2010 by Shaun.smith.oracle.com (Talk | contribs) (New page: ==Installing EclipseLink OSGi in PDE== For OSGi development, it is strongly recommended that you create a target platform and install the necessary features into it. This procedure descr...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Installing EclipseLink OSGi in PDE

For OSGi development, it is strongly recommended that you create a target platform and install the necessary features into it. This procedure describes how to create a new target platform that includes EclipseLink.

  • Open 'Window>Preferences' and navigate to 'Plug-in Development>Target Platform'.
  • Select 'Add..' to create a new target platform definition.
EclipseLinkInstallingInPDE-1.png
  • Select 'Nothing' to start with an empty target and then click 'Next'.
EclipseLinkInstallingInPDE-2.png
  • On the 'Locations' tab select 'Add..'.
EclipseLinkInstallingInPDE-3.png
  • Select 'Software Site' and then click 'Next'.
EclipseLinkInstallingInPDE-4.png
  • Choose the Helios update site from the 'Work with:' drop down of P2 repositories.
  • Once the feature list has been populated, from the 'EclipseRT Target Platform Components' category check 'EclipseLink Target Components' and click 'Finish'.
EclipseLinkInstallingInPDE-5.png
  • Change the name of your new target platform to reflect its contents, e.g., 'EclipseLink 2.1'.
EclipseLinkInstallingInPDE-6.png
  • Finally, select your newly defined target as your default and click 'Ok'.
EclipseLinkInstallingInPDE-7.png
  • In the Plug-ins view of the Plug-in Development perspective you will see all of the bundles in your target platform. Note that bundles EclipseLink requires have also been downloaded and installed by P2, e.g., Equinox (org.eclipse.osgi).
EclipseLinkInstallingInPDE-8.png


You are now ready to build OSGi applications with EclipseLink in PDE!

Check out some OSGi JPA examples to get started.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.