ekkes-corner: eclipse | osgi | mdsd | erp

June 30, 2009

[galileo] HowTo define a (complex) Target Platform

Filed under: Eclipse, Equinox, Galileo, P2, PDE, Riena — ekkescorner @ 7:29 am

Part 5 of my Galileo Reviews around Target Platforms. An Overview of this blog series can be found here.

You have successfully defined a Target Platform for Riena following part 4 of this series. But that was only a very simple definition – all was based on one location: the Galileo Software Site.

Target Platform Locations

But there are more kinds of Target Platform locations.

Add Locations lets you select sources where the Plug-ins come from:

target add content location

  • from Software Site (we already did this)
  • from Installation
  • from Features
  • from Directories

Add Plug-Ins from another Eclipse Installation

Thats really cool :-) you can select one of your Eclipse Installations and select this as your Source.

As you already know I’m just working from a Cocoa-64-bit SDK Installation. There’s another Eclipse 3.5 Installation on my disk: Eclipse EPP RCP Cocoa-32-bit:

select installation rcp 32

Select your Eclipse Installation Folder.

Next >” gives you a preview of the content:

select installation rcp 32 preview content

Finish” adds the Location to your current Target definition:

target definition w location from installation

Add Plug-ins from Features of other Eclipse Installations

Instead of selecting a complete Installation you can also select one or more Features of an Installation:

target platform add features from rcp32

As before you select the Eclipse Folder of an Installation and then you’ll see the list of the Features contained at this Eclipse Installation.

Normaly the list contains only the highest available versions. Sometimes you want to define a Target Definition from older Versions: then you have to check “use specific version

You can select one or more Features and click “Finish” to add them to your current Target definition.

target definition w location from features

Add Plug-ins from 3rdParty Software Site

You can also add as much Plug-ins as you need from as much Software Sites as you need.

As described in an earlier blog of this series you define all your SoftwareSites under Preferences.

Let’s try the UpdateSite Ed Merks blogged about: “Galileo Plus

software site galileo plus

Select what you need – after clicking “Finish” your Locations look like:

target definition w location from sites

Add Plug-ins from Directories

As last option you can choose Plug-ins (bundles) stored in Directories. This is very handy if a Plug-in provider has no Software Update sites and provides only downlaods.

Choose a folder containing Plug-ins (bundles):

target add content from directory

Clicking on “Next >” gives you a preview:

target add content from directory preview

Click on “Finish” to add the content to your Target Definition.

target definition w location from directory


Fine-tuning your selected Plug-ins (bundles)

Now we have made selections from different kind of locations: Directory, Installation, Feature and Software Site.
You can do some fine-tuning we’ll talk about in my next blog “Manage Plug-ins (bundles) in Eclipse Target Platform

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.