Target Platform

From Developer Documents
Jump to navigation Jump to search

The target platform is a composition of OSGi bundles, i.e. Eclipse plug-ins and features. This is the platform on top of which Simantics and its applications are developed. It consists roughly of:

  • selected parts of the Eclipse SDK (RCP, P2, JDT, PDE)
  • Simantics SDK
  • some third-party components

Target main platform maintainer is Tuukka Lehtonen

See Deploying plug-ins for the target platform for instructions on contributing to the target platform.

P2 deployment

P2 is a technology for provisioning software components for OSGi applications (e.g. anything Eclipse-based) originating from the Eclipse/Equinox project.

Simantics 1.4

  1. Get the target platform definitions
  2. Activate the target platform
    • Select menu item Window/Preferences from your Eclipse IDE.
    • Open the preference page Plug-in Development/Target Platform.
    • Activate the Simantics 1.4 target platform definition by checking it and pressing Apply. Wait until Eclipse finishes downloading. Press OK.
      • Members: Select Simantics SDK 1.4 for source code access instead. Use the SVN credentials available in the members wiki when Eclipse asks for the credentials to the target platform.
      • This will make Eclipse download the target platform components from simantics.org and install them as your target platform.
      • If your internet access has an HTTP proxy that causes problems while downloading, try using Simantics 1.4 (HTTPS).
      • WARNING: 3.6 Eclipse IDE user interfaces have bugs that cause weird errors during target platform activation. These are mostly harmless. Use the Target Platform State view to browse the target platform contents.
  3. Keep your platform up-to-date
    • Updating is as easy as reloading the target platform from Target Platform preference page. Select your target from the list and then press the Reload button.

Simantics TRUNK (head)

Same instructions apply as for #Simantics 1.4 with the following changes:

or

Old deployment format

See Old Target Platforms.