Skip to main content

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.

Jump to: navigation, search

IAM Target Platform

Revision as of 18:03, 5 December 2008 by Unnamed Poltroon (Talk) (Install the required bundles)

< To: IAM Environment

Setting up the Target Platform

This page describes the process for setting up the target platform used to build IAM.

Create the base folder

Create a target-platform folder somewhere in your filesystem.

Install a new eclipse SDK

  1. Download the SDK from:
  2. Install on your target-platform folder

You should get the eclipse folder inside your target-platform folder.

Install the required bundles

The iam-prep-target-platform.xml (ANT Script) uses Ant 1.6.5+ & the P2.director application to populate the target-platform with the selection of plugins and features that IAM uses to build & test against.

The iam-prep-target-platform.xml ant script is checked into subversion at [1], you should check out all of trunk anyway if you are going to be working on IAM.

Basic operation of ant script...

[dev-tools]$ ant -f iam-prep-target-platform.xml

The ant script expects an Eclipse SDK installation to be present in the trunk/dev-tools/eclipse folder.

  • Most bundles come from ganymede update site.
    • (TODO: specify versions to avoid changes with maintenance releases.)
  • AJDT is downloaded from the AJDT update site.
  • Some bundles are downloaded from Orbit.
  • JTidy is downloaded from q4e.
    • (TODO: a CQ for JTidy it is warranted, but maybe not needed if we upgrade the embedder)

Configure a target definition

Target platforms are managed through target definition files. You will need to set up your own target definitions.

  1. Start your eclipse (i.e. do not use the new installation you've just set up)
  2. Create a new (simple) project. You can name it Target Platform
  3. File > New > Other... > Plug-in Development > Target Definiton
  4. Enter iam-ganymede as the name of the file
  5. Set Target Name to IAM Ganymede
  6. Set Target Location to your target-platform/eclipse folder.
  7. Click on Set as Target Platform (you will need to repeat this last step if you change the bundles installed on your target definition).

Back to the top